[gnome-builder/wip/gtk4-port: 110/736] libide/gui: port menu manager to GTK 4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 110/736] libide/gui: port menu manager to GTK 4
- Date: Tue, 26 Apr 2022 01:46:13 +0000 (UTC)
commit b441e217d6781793c19daee0ae9ef68bca72b92e
Author: Christian Hergert <chergert redhat com>
Date: Sun Mar 27 00:53:48 2022 -0700
libide/gui: port menu manager to GTK 4
src/libide/gui/ide-menu-manager.c | 3 +--
src/libide/gui/ide-menu-manager.h | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/gui/ide-menu-manager.c b/src/libide/gui/ide-menu-manager.c
index 6c52342e4..2f691372a 100644
--- a/src/libide/gui/ide-menu-manager.c
+++ b/src/libide/gui/ide-menu-manager.c
@@ -23,7 +23,6 @@
#include <gtk/gtk.h>
#include <string.h>
-#include "ide-macros.h"
#include "ide-menu-manager.h"
struct _IdeMenuManager
@@ -71,7 +70,7 @@ get_object_id (GObject *object)
g_assert (G_IS_OBJECT (object));
if (GTK_IS_BUILDABLE (object))
- return gtk_buildable_get_name (GTK_BUILDABLE (object));
+ return gtk_buildable_get_buildable_id (GTK_BUILDABLE (object));
else
return g_object_get_data (object, "gtk-builder-name");
}
diff --git a/src/libide/gui/ide-menu-manager.h b/src/libide/gui/ide-menu-manager.h
index 161cbcf42..5011f5e14 100644
--- a/src/libide/gui/ide-menu-manager.h
+++ b/src/libide/gui/ide-menu-manager.h
@@ -21,7 +21,7 @@
#include <gtk/gtk.h>
-#include "ide-version-macros.h"
+#include <libide-core.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]