ui/common/context.h

changeset 44
473954dc6b74
parent 42
9af327d0e0e4
--- a/ui/common/context.h	Mon Jun 17 21:20:58 2024 +0200
+++ b/ui/common/context.h	Sun Sep 29 13:32:51 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