Mercurial > pidgin.yaz
changeset 21880:b93c099dcfe4
Make sure an old tooltip is destroyed before creating a new one.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 08 Dec 2007 07:14:25 +0000 |
parents | 5417c26b5ecc |
children | a69a4307c9a8 |
files | pidgin/pidgintooltip.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/pidgintooltip.c Thu Dec 06 22:46:51 2007 +0000 +++ b/pidgin/pidgintooltip.c Sat Dec 08 07:14:25 2007 +0000 @@ -187,6 +187,7 @@ data->path = NULL; } + pidgin_tooltip_destroy(); pidgin_tooltip.tipwindow = tipwindow = gtk_window_new(GTK_WINDOW_POPUP); pidgin_tooltip.widget = gtk_widget_get_toplevel(data->widget); pidgin_tooltip.paint_tooltip = data->paint_tooltip;