From a7eae67228814bec6fa1ae1c6394101d2b6a2186 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Feb 2019 08:22:06 -0500 Subject: [PATCH] shortcuts window: Fix a leftover use of child properties These properties are gone, use the child meta here. --- gtk/gtkshortcutswindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c index 04fbe3be2d..ba882ac9c9 100644 --- a/gtk/gtkshortcutswindow.c +++ b/gtk/gtkshortcutswindow.c @@ -298,7 +298,7 @@ section_notify_cb (GObject *section, gchar *name; g_object_get (section, "section-name", &name, NULL); - gtk_container_child_set (GTK_CONTAINER (priv->stack), GTK_WIDGET (section), "name", name, NULL); + g_object_set (gtk_stack_get_page (priv->stack, GTK_WIDGET (section)), "name", name, NULL); g_free (name); } else if (strcmp (pspec->name, "title") == 0) @@ -702,7 +702,7 @@ gtk_shortcuts_window_get_property (GObject *object, { gchar *name = NULL; - gtk_container_child_get (GTK_CONTAINER (priv->stack), child, + g_object_get (gtk_stack_get_page (priv->stack, child), "name", &name, NULL); g_value_take_string (value, name);