Mercurial > pidgin.yaz
comparison plugins/iconaway.c @ 4726:0b1c01fd68f1
[gaim-migrate @ 5039]
Fixed win2ktrans and iconaway plugins
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 12 Mar 2003 16:45:33 +0000 |
parents | 2427d847e39c |
children | fefad67de2c7 |
comparison
equal
deleted
inserted
replaced
4725:fd44726a527f | 4726:0b1c01fd68f1 |
---|---|
13 #endif | 13 #endif |
14 | 14 |
15 void *handle; | 15 void *handle; |
16 | 16 |
17 G_MODULE_IMPORT GtkWidget *imaway; | 17 G_MODULE_IMPORT GtkWidget *imaway; |
18 G_MODULE_IMPORT GtkWidget *blist; | 18 /*G_MODULE_IMPORT GtkWidget *blist;*/ |
19 /* XXX G_MODULE_IMPORT GtkWidget *all_chats; */ | 19 /* XXX G_MODULE_IMPORT GtkWidget *all_chats; */ |
20 G_MODULE_IMPORT GtkWidget *all_convos; | 20 /*G_MODULE_IMPORT GtkWidget *all_convos;*/ |
21 | 21 |
22 #ifdef USE_APPLET | 22 #ifdef USE_APPLET |
23 extern void applet_destroy_buddy(); | 23 extern void applet_destroy_buddy(); |
24 #endif | 24 #endif |
25 | 25 |
30 | 30 |
31 if (!imaway || !gc->away) | 31 if (!imaway || !gc->away) |
32 return; | 32 return; |
33 | 33 |
34 gtk_window_iconify(GTK_WINDOW(imaway)); | 34 gtk_window_iconify(GTK_WINDOW(imaway)); |
35 hide_buddy_list(); | 35 gaim_blist_set_visible(FALSE); |
36 | 36 |
37 for (windows = gaim_get_windows(); | 37 for (windows = gaim_get_windows(); |
38 windows != NULL; | 38 windows != NULL; |
39 windows = windows->next) { | 39 windows = windows->next) { |
40 | 40 |