263:a0ea718ab1d8 | 264:24d9a92fd048 |
---|---|
140 | 140 |
141 UiVarEventData *event = malloc(sizeof(UiVarEventData)); | 141 UiVarEventData *event = malloc(sizeof(UiVarEventData)); |
142 event->obj = obj; | 142 event->obj = obj; |
143 event->var = var; | 143 event->var = var; |
144 event->observers = NULL; | 144 event->observers = NULL; |
145 event->callback = NULL; | |
146 event->userdata = NULL; | |
145 | 147 |
146 g_signal_connect( | 148 g_signal_connect( |
147 widget, | 149 widget, |
148 "clicked", | 150 "clicked", |
149 G_CALLBACK(ui_toggled_obs), | 151 G_CALLBACK(ui_toggled_obs), |
212 | 214 |
213 UiVarEventData *event = malloc(sizeof(UiVarEventData)); | 215 UiVarEventData *event = malloc(sizeof(UiVarEventData)); |
214 event->obj = obj; | 216 event->obj = obj; |
215 event->var = var; | 217 event->var = var; |
216 event->observers = NULL; | 218 event->observers = NULL; |
219 event->callback = NULL; | |
220 event->userdata = NULL; | |
217 | 221 |
218 g_signal_connect( | 222 g_signal_connect( |
219 rbutton, | 223 rbutton, |
220 "clicked", | 224 "clicked", |
221 G_CALLBACK(ui_radio_obs), | 225 G_CALLBACK(ui_radio_obs), |