comparison src/protocols/oscar/oscar.c @ 6465:fb64cc87bc96

[gaim-migrate @ 6974] open_url() is gone forever! WOOHOO! Now we have gaim_notify_uri(). Oh, and whitespace changes in some files, because they just really bugged me. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 14 Aug 2003 03:55:13 +0000
parents 588e88bcdac5
children 338147ea6896
comparison
equal deleted inserted replaced
6464:059649ed25ed 6465:fb64cc87bc96
44 #include "md5.h" 44 #include "md5.h"
45 45
46 /* XXX CORE/UI */ 46 /* XXX CORE/UI */
47 #include "gtkinternal.h" 47 #include "gtkinternal.h"
48 #include "gaim.h" 48 #include "gaim.h"
49 #include "ui.h"
50 49
51 50
52 #define UC_AOL 0x02 51 #define UC_AOL 0x02
53 #define UC_ADMIN 0x04 52 #define UC_ADMIN 0x04
54 #define UC_UNCONFIRMED 0x08 53 #define UC_UNCONFIRMED 0x08
6080 6079
6081 static void oscar_show_chpassurl(GaimConnection *gc) 6080 static void oscar_show_chpassurl(GaimConnection *gc)
6082 { 6081 {
6083 struct oscar_data *od = gc->proto_data; 6082 struct oscar_data *od = gc->proto_data;
6084 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc))); 6083 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc)));
6085 open_url(NULL, substituted); 6084 gaim_notify_uri(gc, substituted);
6086 g_free(substituted); 6085 g_free(substituted);
6087 } 6086 }
6088 6087
6089 static void oscar_set_icon(GaimConnection *gc, const char *iconfile) 6088 static void oscar_set_icon(GaimConnection *gc, const char *iconfile)
6090 { 6089 {