ui/gtk/button.c

changeset 5
19d37cb9c96c
parent 4
39b9b86ec452
child 16
a499c8a72c15
equal deleted inserted replaced
4:39b9b86ec452 5:19d37cb9c96c
50 "clicked", 50 "clicked",
51 G_CALLBACK(ui_button_clicked), 51 G_CALLBACK(ui_button_clicked),
52 event); 52 event);
53 } 53 }
54 54
55 obj->container->add(obj->container, button); 55 UiContainer *ct = uic_get_current_container(obj);
56 ct->add(ct, button);
56 57
57 return button; 58 return button;
58 } 59 }
59 60
60 61

mercurial