ui/common/context.h

branch
newapi
changeset 311
450a813dc2a5
parent 293
736c962f1011
equal deleted inserted replaced
310:4918f9132552 311:450a813dc2a5
75 void (*attach_document)(UiContext *ctx, void *document); 75 void (*attach_document)(UiContext *ctx, void *document);
76 void (*detach_document2)(UiContext *ctx, void *document); 76 void (*detach_document2)(UiContext *ctx, void *document);
77 77
78 char *title; 78 char *title;
79 79
80 #if UI_GTK2 || UI_GTK3 80 #ifdef UI_GTK
81 #if GTK_CHECK_VERSION(4, 0, 0)
82 GActionMap *action_map;
83 #elif UI_GTK2 || UI_GTK3
81 GtkAccelGroup *accel_group; 84 GtkAccelGroup *accel_group;
85 #endif
82 #endif 86 #endif
87
88
83 89
84 ui_callback close_callback; 90 ui_callback close_callback;
85 void *close_data; 91 void *close_data;
86 }; 92 };
87 93

mercurial