diff plugins/docklet/docklet.c @ 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 065005e5f536
children a2de852981c1
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