changeset 12475:572d6d5da418

[gaim-migrate @ 14786] SF Patch #1379255 from charkins "The clearing of the docklet tooltip was misplaced when patch #1368906 was applied, so that the tooltip text never gets completely cleared. This patch fixes that." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 13 Dec 2005 08:04:13 +0000
parents 24beec3e42ad
children 18b16e801e6f
files plugins/docklet/docklet.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Tue Dec 13 01:09:42 2005 +0000
+++ b/plugins/docklet/docklet.c	Tue Dec 13 08:04:13 2005 +0000
@@ -165,11 +165,12 @@
 			ui_ops->set_tooltip(tooltip_text->str);
 
 			g_string_free(tooltip_text, TRUE);
-		} else {
-			ui_ops->set_tooltip(NULL);
 		}
 
 		g_list_free(convs);
+
+	} else if(ui_ops->set_tooltip) {
+		ui_ops->set_tooltip(NULL);
 	}
 
 	/* iterate through all accounts and determine which