diff options
Diffstat (limited to 'src/fe-gtk/gtkutil.c')
-rw-r--r-- | src/fe-gtk/gtkutil.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index af6d3803..79b71233 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -450,7 +450,7 @@ gtkutil_button (GtkWidget *box, char *stock, char *tip, void *callback, G_CALLBACK (callback), userdata); gtk_widget_show (wid); if (tip) - add_tip (wid, tip); + gtk_widget_set_tooltip_text (wid, tip); return wid; } @@ -547,15 +547,6 @@ gtkutil_clist_multiple_selection (GtkWidget * clist, int ** rows, const int max_ } void -add_tip (GtkWidget * wid, char *text) -{ - static GtkTooltips *tip = NULL; - if (!tip) - tip = gtk_tooltips_new (); - gtk_tooltips_set_tip (tip, wid, text, 0); -} - -void show_and_unfocus (GtkWidget * wid) { gtk_widget_set_can_focus (wid, FALSE); |