Mercurial > pidgin.yaz
comparison src/protocols/trepia/trepia.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 | 3683471e1417 |
children | a4622f1fb5a1 |
comparison
equal
deleted
inserted
replaced
6464:059649ed25ed | 6465:fb64cc87bc96 |
---|---|
33 #include "profile.h" | 33 #include "profile.h" |
34 | 34 |
35 /* XXX */ | 35 /* XXX */ |
36 #include "gaim.h" | 36 #include "gaim.h" |
37 #include "multi.h" | 37 #include "multi.h" |
38 #include "ui.h" /* XXX for open_url */ | |
39 | 38 |
40 #ifndef _WIN32 | 39 #ifndef _WIN32 |
41 # include <sys/socket.h> | 40 # include <sys/socket.h> |
42 # include <sys/ioctl.h> | 41 # include <sys/ioctl.h> |
43 # include <netinet/in.h> | 42 # include <netinet/in.h> |
537 | 536 |
538 b = gaim_find_buddy(gaim_connection_get_account(gc), who); | 537 b = gaim_find_buddy(gaim_connection_get_account(gc), who); |
539 profile = b->proto_data; | 538 profile = b->proto_data; |
540 | 539 |
541 if ((value = trepia_profile_get_homepage(profile)) != NULL) | 540 if ((value = trepia_profile_get_homepage(profile)) != NULL) |
542 open_url(NULL, value); | 541 gaim_notify_uri(gc, value); |
543 } | 542 } |
544 | 543 |
545 static GList * | 544 static GList * |
546 trepia_buddy_menu(GaimConnection *gc, const char *who) | 545 trepia_buddy_menu(GaimConnection *gc, const char *who) |
547 { | 546 { |