ui/common/context.h

branch
newapi
changeset 311
450a813dc2a5
parent 293
736c962f1011
--- a/ui/common/context.h	Thu Sep 26 22:43:13 2024 +0200
+++ b/ui/common/context.h	Sun Sep 29 11:29:37 2024 +0200
@@ -77,9 +77,15 @@
     
     char          *title;
     
-#if UI_GTK2 || UI_GTK3
+#ifdef UI_GTK
+#if GTK_CHECK_VERSION(4, 0, 0)
+    GActionMap *action_map;
+#elif UI_GTK2 || UI_GTK3
     GtkAccelGroup *accel_group;
+#endif 
 #endif
+
+
     
     ui_callback   close_callback;
     void          *close_data;

mercurial