diff options
author | Padraig O'Briain <padraigo@src.gnome.org> | 2002-02-07 15:45:17 +0000 |
---|---|---|
committer | Padraig O'Briain <padraigo@src.gnome.org> | 2002-02-07 15:45:17 +0000 |
commit | 49ea86bccde551858cbf22ba19c5a1fe1eabf460 (patch) | |
tree | 581dc9f165391745de606f35b3fa81253b6086fd /gtk/gtktooltips.c | |
parent | 5bc235001ab5ea9071ae550c8ced0dcb88a725eb (diff) | |
download | gdk-pixbuf-49ea86bccde551858cbf22ba19c5a1fe1eabf460.tar.gz |
Change show_help signal to return gboolean instead of void. This allows
* gtk/gtkwidget.[ch]:
Change show_help signal to return gboolean instead of void. This
allows the keypress which invokes the signal to be propagated to the
focus widgets ancestors if not handled by the focus widget.
* gtk/gtktoolips.[ch]
Change _gtk_tooltips_show_tip () to return a gboolean indicating
whether widget has tooltip to display.
Diffstat (limited to 'gtk/gtktooltips.c')
-rw-r--r-- | gtk/gtktooltips.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index 6f035292c..125a60732 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -537,7 +537,7 @@ gtk_tooltips_widget_remove (GtkWidget *widget, gtk_tooltips_destroy_data (tooltipsdata); } -void +gboolean _gtk_tooltips_show_tip (GtkWidget *widget) { /* Showing the tip from the keyboard */ @@ -551,10 +551,11 @@ _gtk_tooltips_show_tip (GtkWidget *widget) tooltipsdata = gtk_tooltips_data_get (widget); if (tooltipsdata == NULL) - return; + return FALSE; gtk_tooltips_set_active_widget (tooltipsdata->tooltips, widget); gtk_tooltips_timeout (tooltipsdata->tooltips); + return TRUE; } |