changeset 31025:cd61b074103a

This conditional is redundant, right?
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 14 Dec 2010 06:17:26 +0000
parents 7fb5e60fd919
children fa1a0dccd4fa
files pidgin/gtkdocklet-gtk.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdocklet-gtk.c	Tue Dec 14 06:14:35 2010 +0000
+++ b/pidgin/gtkdocklet-gtk.c	Tue Dec 14 06:17:26 2010 +0000
@@ -158,11 +158,7 @@
 static void
 docklet_gtk_status_set_tooltip(gchar *tooltip)
 {
-	if (tooltip) {
-		gtk_status_icon_set_tooltip(docklet, tooltip);
-	} else {
-		gtk_status_icon_set_tooltip(docklet, NULL);
-	}
+	gtk_status_icon_set_tooltip(docklet, tooltip);
 }
 
 static void