Mercurial > pidgin.yaz
diff pidgin/gtkdocklet-gtk.c @ 31472: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 | c92bc01056ea a8cc50c2279f |
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