[gnome-builder/wip/gtk4-port: 199/736] libide/gtk: fix internal builder id




commit 23bd9f97d8f4b2eb57705a0a0d72b3d461ed74d6
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 30 00:23:55 2022 -0700

    libide/gtk: fix internal builder id
    
    This changed in GTK 4 from name to id.

 src/libide/gtk/ide-menu-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gtk/ide-menu-manager.c b/src/libide/gtk/ide-menu-manager.c
index 2f691372a..d908955e0 100644
--- a/src/libide/gtk/ide-menu-manager.c
+++ b/src/libide/gtk/ide-menu-manager.c
@@ -72,7 +72,7 @@ get_object_id (GObject *object)
   if (GTK_IS_BUILDABLE (object))
     return gtk_buildable_get_buildable_id (GTK_BUILDABLE (object));
   else
-    return g_object_get_data (object, "gtk-builder-name");
+    return g_object_get_data (object, "gtk-builder-id");
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]