Mercurial > pidgin.yaz
changeset 7897:e90d3d430798
[gaim-migrate @ 8557]
thanks Kevin, for making me remember that I hadn't fixed this yet
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 21 Dec 2003 04:06:30 +0000 |
parents | 4294afe670ad |
children | 9c0ea21997a9 |
files | src/gtkblist.c |
diffstat | 1 files changed, 15 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Sat Dec 20 19:36:14 2003 +0000 +++ b/src/gtkblist.c Sun Dec 21 04:06:30 2003 +0000 @@ -1531,11 +1531,19 @@ attr.event_mask |= (GDK_EXPOSURE_MASK | GDK_KEY_PRESS_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK ); + if(gtkblist->east_shadow) { + gdk_window_set_user_data (gtkblist->east_shadow, NULL); + gdk_window_destroy (gtkblist->east_shadow); + } gtkblist->east_shadow = gdk_window_new(gtk_widget_get_root_window(gtkblist->tipwindow), &attr, GDK_WA_NOREDIR | GDK_WA_VISUAL | GDK_WA_COLORMAP); gdk_window_set_user_data (gtkblist->east_shadow, gtkblist->tipwindow); gdk_window_set_back_pixmap (gtkblist->east_shadow, NULL, FALSE); + if(gtkblist->south_shadow) { + gdk_window_set_user_data (gtkblist->south_shadow, NULL); + gdk_window_destroy (gtkblist->south_shadow); + } gtkblist->south_shadow = gdk_window_new(gtk_widget_get_root_window(gtkblist->tipwindow), &attr, GDK_WA_NOREDIR | GDK_WA_VISUAL | GDK_WA_COLORMAP); gdk_window_set_user_data (gtkblist->south_shadow, gtkblist->tipwindow); @@ -1644,13 +1652,13 @@ if (gtkblist->tipwindow) { gtk_widget_destroy(gtkblist->tipwindow); #ifdef WANT_DROP_SHADOW - gdk_window_set_user_data (gtkblist->east_shadow, NULL); - gdk_window_destroy (gtkblist->east_shadow); - gtkblist->east_shadow = NULL; - - gdk_window_set_user_data (gtkblist->south_shadow, NULL); - gdk_window_destroy (gtkblist->south_shadow); - gtkblist->south_shadow = NULL; + gdk_window_set_user_data (gtkblist->east_shadow, NULL); + gdk_window_destroy (gtkblist->east_shadow); + gtkblist->east_shadow = NULL; + + gdk_window_set_user_data (gtkblist->south_shadow, NULL); + gdk_window_destroy (gtkblist->south_shadow); + gtkblist->south_shadow = NULL; #endif gtkblist->tipwindow = NULL; }