Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
31471:7fb5e60fd919 | 31472:cd61b074103a |
---|---|
156 } | 156 } |
157 | 157 |
158 static void | 158 static void |
159 docklet_gtk_status_set_tooltip(gchar *tooltip) | 159 docklet_gtk_status_set_tooltip(gchar *tooltip) |
160 { | 160 { |
161 if (tooltip) { | 161 gtk_status_icon_set_tooltip(docklet, tooltip); |
162 gtk_status_icon_set_tooltip(docklet, tooltip); | |
163 } else { | |
164 gtk_status_icon_set_tooltip(docklet, NULL); | |
165 } | |
166 } | 162 } |
167 | 163 |
168 static void | 164 static void |
169 docklet_gtk_status_position_menu(GtkMenu *menu, | 165 docklet_gtk_status_position_menu(GtkMenu *menu, |
170 int *x, int *y, gboolean *push_in, | 166 int *x, int *y, gboolean *push_in, |