Mercurial > pidgin
diff src/applet.c @ 3063:22c84cbcd5a6
[gaim-migrate @ 3077]
A buddy window placement fix by Marc Deslauriers and a compile fix from Benjamin Miller. Thanks guys. Also, an irc fix.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 16 Mar 2002 20:14:24 +0000 |
parents | 32c78c57b351 |
children | 01279615a5fe |
line wrap: on
line diff
--- a/src/applet.c Sat Mar 16 06:16:11 2002 +0000 +++ b/src/applet.c Sat Mar 16 20:14:24 2002 +0000 @@ -394,14 +394,15 @@ void createOnlinePopup() { GtkAllocation *al; - if (blist) - gtk_widget_show(blist); + if (!blist) + return; al = get_applet_pos(TRUE); if (blist_options & OPT_BLIST_NEAR_APPLET) gtk_widget_set_uposition(blist, al->x, al->y); else if (blist_options & OPT_BLIST_SAVED_WINDOWS) gtk_widget_set_uposition(blist, blist_pos.x - blist_pos.xoff, blist_pos.y - blist_pos.yoff); + gtk_widget_show(blist); g_free(al); }