summaryrefslogtreecommitdiff
path: root/gtk/gtkpopover.c
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2014-05-12 16:25:25 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2014-05-12 16:39:44 -0400
commit8f9e50de8011656e663625c115f7a1d92d656844 (patch)
tree8ec7ac632e4d950b89463a24ac985f05917103e2 /gtk/gtkpopover.c
parent1e3af04dd9a61e2acde4bf86de4f69a24fcb3e22 (diff)
downloadgtk+-8f9e50de8011656e663625c115f7a1d92d656844.tar.gz
GtkPopover: inherit actions from the relative_to widget
Make the relative_to widget the parent for a GtkPopover's GtkActionGroup. This, for example, makes the menu model of a GtkMenuButton find action groups attached to the button. https://bugzilla.gnome.org/show_bug.cgi?id=729915
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r--gtk/gtkpopover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 04796fcae3..721062284e 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -1636,6 +1636,7 @@ gtk_popover_update_relative_to (GtkPopover *popover,
G_CALLBACK (scrollable_notify_cb), popover);
}
+ _gtk_widget_update_parent_muxer (GTK_WIDGET (popover));
_gtk_popover_update_context_parent (popover);
g_object_unref (popover);
}