144:29d98cff4f56 | 145:853685152c1d |
---|---|
120 gtk_toggle_button_set_active(value->obj, value->value); | 120 gtk_toggle_button_set_active(value->obj, value->value); |
121 | 121 |
122 UiVarEventData *event = malloc(sizeof(UiVarEventData)); | 122 UiVarEventData *event = malloc(sizeof(UiVarEventData)); |
123 event->obj = obj; | 123 event->obj = obj; |
124 event->var = var; | 124 event->var = var; |
125 event->observers = NULL; | |
125 | 126 |
126 g_signal_connect( | 127 g_signal_connect( |
127 button, | 128 button, |
128 "clicked", | 129 "clicked", |
129 G_CALLBACK(ui_toggled_obs), | 130 G_CALLBACK(ui_toggled_obs), |
177 ui_radiobutton_set(rgroup, rgroup->value); | 178 ui_radiobutton_set(rgroup, rgroup->value); |
178 | 179 |
179 UiVarEventData *event = malloc(sizeof(UiVarEventData)); | 180 UiVarEventData *event = malloc(sizeof(UiVarEventData)); |
180 event->obj = obj; | 181 event->obj = obj; |
181 event->var = var; | 182 event->var = var; |
183 event->observers = NULL; | |
182 | 184 |
183 g_signal_connect( | 185 g_signal_connect( |
184 rbutton, | 186 rbutton, |
185 "clicked", | 187 "clicked", |
186 G_CALLBACK(ui_radio_obs), | 188 G_CALLBACK(ui_radio_obs), |