pidgin: 83e4c3ee: This conditional is redundant, right?

qulogic at pidgin.im qulogic at pidgin.im
Tue Dec 14 01:20:52 EST 2010


----------------------------------------------------------------------
Revision: 83e4c3ee6192ae987733a0e2592446135a9ade66
Parent:   27639110c18cc1d52b6bb784f844217c23a73562
Author:   qulogic at pidgin.im
Date:     12/14/10 01:17:26
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/83e4c3ee6192ae987733a0e2592446135a9ade66

Changelog: 

This conditional is redundant, right?

Changes against parent 27639110c18cc1d52b6bb784f844217c23a73562

  patched  pidgin/gtkdocklet-gtk.c

-------------- next part --------------
============================================================
--- pidgin/gtkdocklet-gtk.c	36447fe7775854c4db4bc35038f88cec4a28d091
+++ pidgin/gtkdocklet-gtk.c	4128304679ea5f7d9300d37e201912382e2a6410
@@ -158,11 +158,7 @@ docklet_gtk_status_set_tooltip(gchar *to
 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


More information about the Commits mailing list