summaryrefslogtreecommitdiff
path: root/gtk/gtkpopover.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-06-12 16:54:57 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-06-12 21:49:59 -0400
commitd0a38c677cf9fb6086a57a4ffbaa7bd635d34b13 (patch)
tree951820bfe23c06fc2ddbac81fe14391442c5b763 /gtk/gtkpopover.h
parenta56f99355a5764182ba285d726702f71fd03ddac (diff)
downloadgtk+-d0a38c677cf9fb6086a57a4ffbaa7bd635d34b13.tar.gz
popover: Bring back the activate-default signal
As long as key bindings only work via action signals, we need a signal here in order to override the Enter/Space bindings for popover menus.
Diffstat (limited to 'gtk/gtkpopover.h')
-rw-r--r--gtk/gtkpopover.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkpopover.h b/gtk/gtkpopover.h
index 615cd9a79e..301fa298f7 100644
--- a/gtk/gtkpopover.h
+++ b/gtk/gtkpopover.h
@@ -48,7 +48,8 @@ struct _GtkPopoverClass
{
GtkBinClass parent_class;
- void (* closed) (GtkPopover *popover);
+ void (* closed) (GtkPopover *popover);
+ void (* activate_default) (GtkPopover *popover);
/*< private >*/