comparison src/buddy.c @ 3188:49fb2b634a2a

[gaim-migrate @ 3205] The Robot101 commit. A toc fix (don't use toc) and the possibility to compile iconaway.c on an applet and use it on the standalone app. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 27 Apr 2002 19:41:07 +0000
parents fce1883cc608
children dd03116e0f8d
comparison
equal deleted inserted replaced
3187:01279615a5fe 3188:49fb2b634a2a
1982 g = NULL; 1982 g = NULL;
1983 m = m->next; 1983 m = m->next;
1984 } 1984 }
1985 1985
1986 return g; 1986 return g;
1987 }
1988
1989 void hide_buddy_list() {
1990 #ifdef USE_APPLET
1991 applet_destroy_buddy();
1992 #else
1993 XIconifyWindow(GDK_DISPLAY(),
1994 GDK_WINDOW_XWINDOW(blist->window),
1995 ((_XPrivDisplay)GDK_DISPLAY())->default_screen);
1996 #endif
1987 } 1997 }
1988 1998
1989 static gint log_timeout(struct buddy_show *b) 1999 static gint log_timeout(struct buddy_show *b)
1990 { 2000 {
1991 /* this part is really just a bad hack because of a bug I can't find */ 2001 /* this part is really just a bad hack because of a bug I can't find */