diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-02-06 01:20:02 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-03-05 16:48:00 -0500 |
commit | 88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f (patch) | |
tree | dacc5065565b6f0048a2247f7343de8b2062ecee /gtk/gtktextview.h | |
parent | f1f3a033e5518eaf156e46fadb9cb4d84781df49 (diff) | |
download | gtk+-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/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 2b81b4f6c5..650e6051c3 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -78,7 +78,7 @@ struct _GtkTextViewClass GtkContainerClass parent_class; void (* populate_popup) (GtkTextView *text_view, - GtkMenu *menu); + GtkWidget *popup); /* These are all RUN_ACTION signals for keybindings */ |