Mercurial > pidgin.yaz
changeset 7837:d20f729d3f18
[gaim-migrate @ 8490]
i think this fixes the tooltip crashes
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 12 Dec 2003 04:09:15 +0000 |
parents | 3738e3ac6d88 |
children | b1ac84461c17 |
files | src/gtkblist.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Fri Dec 12 02:38:45 2003 +0000 +++ b/src/gtkblist.c Fri Dec 12 04:09:15 2003 +0000 @@ -1506,6 +1506,8 @@ if(!tooltiptext) return FALSE; + if(gtkblist->tipwindow) + gtk_widget_destroy(gtkblist->tipwindow); gtkblist->tipwindow = gtk_window_new(GTK_WINDOW_POPUP); gtk_widget_set_app_paintable(gtkblist->tipwindow, TRUE); gtk_window_set_resizable(GTK_WINDOW(gtkblist->tipwindow), FALSE); @@ -1513,7 +1515,7 @@ g_signal_connect(G_OBJECT(gtkblist->tipwindow), "expose_event", G_CALLBACK(gaim_gtk_blist_paint_tip), node); gtk_widget_ensure_style (gtkblist->tipwindow); - + #ifdef WANT_DROP_SHADOW attr.window_type = GDK_WINDOW_TEMP; attr.override_redirect = TRUE;