ui/common/context.c

changeset 94
d51e334c1439
parent 90
2019fdbaadfd
child 108
fcf6d5fac8f5
equal deleted inserted replaced
93:5223de7979e2 94:d51e334c1439
47 ctx->group_widgets = NULL; 47 ctx->group_widgets = NULL;
48 48
49 ctx->set_document = uic_context_set_document; 49 ctx->set_document = uic_context_set_document;
50 ctx->detach_document = uic_context_detach_document; 50 ctx->detach_document = uic_context_detach_document;
51 51
52 ctx->title = NULL;
53
52 #ifdef UI_GTK 54 #ifdef UI_GTK
53 if(toplevel->widget) { 55 if(toplevel->widget) {
54 ctx->accel_group = gtk_accel_group_new(); 56 ctx->accel_group = gtk_accel_group_new();
55 gtk_window_add_accel_group(GTK_WINDOW(toplevel->widget), ctx->accel_group); 57 gtk_window_add_accel_group(GTK_WINDOW(toplevel->widget), ctx->accel_group);
56 } 58 }

mercurial