119 } |
119 } |
120 |
120 |
121 gtk_menu_shell_append(GTK_MENU_SHELL(parent), widget); |
121 gtk_menu_shell_append(GTK_MENU_SHELL(parent), widget); |
122 |
122 |
123 if(i->groups) { |
123 if(i->groups) { |
124 uic_add_group_widget(obj->ctx, widget, (ui_enablefunc)ui_set_enabled, i->groups); |
124 CxList *groups = cxArrayListCreateSimple(sizeof(int), i->ngroups); |
|
125 cxListAddArray(groups, i->groups, i->ngroups); |
|
126 uic_add_group_widget(obj->ctx, widget, (ui_enablefunc)ui_set_enabled, groups); |
|
127 cxListDestroy(groups); |
125 } |
128 } |
126 } |
129 } |
127 |
130 |
128 /* |
131 /* |
129 void add_menuitem_st_widget( |
132 void add_menuitem_st_widget( |