summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-02-06 01:20:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-03-05 16:48:00 -0500
commit88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f (patch)
treedacc5065565b6f0048a2247f7343de8b2062ecee /gtk/gtkentry.h
parentf1f3a033e5518eaf156e46fadb9cb4d84781df49 (diff)
downloadgtk+-88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f.tar.gz
Allow to populate bubbles with extra content
We do this by making the ::populate-popup signals a little more flexible. They used to just accept a GtkMenu as argument, now they can take a menu or a toolbar. To not break the expectations of existing callbacks, we only emit ::populate-popup with a toolbar if the :populate-toolbar property is TRUE.
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 425547f9ea..db80b9e5a5 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -85,7 +85,7 @@ struct _GtkEntryClass
/* Hook to customize right-click popup */
void (* populate_popup) (GtkEntry *entry,
- GtkMenu *menu);
+ GtkWidget *popup);
/* Action signals
*/