summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2002-02-07 09:39:21 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2002-02-07 09:39:21 +0000
commit5bc235001ab5ea9071ae550c8ced0dcb88a725eb (patch)
treed6529b0467974ba1950730afd78de9538b491fd7 /gtk/gtkwidget.h
parentac939d335588279e3bc36eda8b701e1ad91eb814 (diff)
downloadgtk+-5bc235001ab5ea9071ae550c8ced0dcb88a725eb.tar.gz
Change popup_menu signal to return gboolean instead of void. This allows
* gtk/gtkwidget.[ch]: Change popup_menu 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/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c: Change signature of popup_menu signal handler to return gboolean instead of void and return TRUE in the signal handler
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index d70a0ef676..6eebb124f0 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -387,7 +387,7 @@ struct _GtkWidgetClass
guint time);
/* Signals used only for keybindings */
- void (* popup_menu) (GtkWidget *widget);
+ gboolean (* popup_menu) (GtkWidget *widget);
/* If a widget has multiple tooltips/whatsthis, it should show the
* one for the current focus location, or if that doesn't make