20:2dda1ad6dc7a | 21:012418e7dc90 |
---|---|
49 g_signal_connect( | 49 g_signal_connect( |
50 button, | 50 button, |
51 "clicked", | 51 "clicked", |
52 G_CALLBACK(ui_button_clicked), | 52 G_CALLBACK(ui_button_clicked), |
53 event); | 53 event); |
54 g_signal_connect( | |
55 button, | |
56 "destroy", | |
57 G_CALLBACK(ui_destroy_userdata), | |
58 event); | |
54 } | 59 } |
55 | 60 |
56 UiContainer *ct = uic_get_current_container(obj); | 61 UiContainer *ct = uic_get_current_container(obj); |
57 ct->add(ct, button); | 62 ct->add(ct, button); |
58 | 63 |