ui/common/context.h

changeset 111
40dbf1a7526a
parent 94
d51e334c1439
child 128
c284c15509a8
--- a/ui/common/context.h	Sun Jan 24 12:39:05 2016 +0100
+++ b/ui/common/context.h	Sun Jan 24 18:47:39 2016 +0100
@@ -55,11 +55,14 @@
     void (*set_document)(UiContext *ctx, void *document);
     void (*detach_document)(UiContext *ctx, void *document);
     
-    char         *title;
+    char          *title;
     
 #ifdef UI_GTK
     GtkAccelGroup *accel_group;
 #endif
+    
+    ui_callback   close_callback;
+    void          *close_data;
 };
 
 struct UiVar {

mercurial