ui/gtk/button.c

branch
newapi
changeset 339
b68b5f984074
parent 313
b679cc6059ab
child 343
54f5d7eb1335
equal deleted inserted replaced
338:6d827f85e0f5 339:b68b5f984074
399 "destroy", 399 "destroy",
400 G_CALLBACK(ui_destroy_userdata), 400 G_CALLBACK(ui_destroy_userdata),
401 event); 401 event);
402 } 402 }
403 403
404 UiContainer *ct = uic_get_current_container(obj); 404 UI_APPLY_LAYOUT1(current, args);
405 ct->add(ct, rbutton, FALSE); 405 current->container->add(current->container, rbutton, FALSE);
406 406
407 return rbutton; 407 return rbutton;
408 } 408 }
409 409
410 void ui_radio_obs(GtkToggleButton *widget, UiVarEventData *event) { 410 void ui_radio_obs(GtkToggleButton *widget, UiVarEventData *event) {

mercurial