ui/gtk/window.c

changeset 764
5ff4b9c0cf96
parent 763
258ec399fbe6
child 770
521ecd0a0e7b
equal deleted inserted replaced
763:258ec399fbe6 764:5ff4b9c0cf96
336 GTK_WINDOW(obj->widget), 336 GTK_WINDOW(obj->widget),
337 width, 337 width,
338 height); 338 height);
339 } 339 }
340 340
341 void ui_window_default_size(UiObject *obj, int width, int height) {
342 window_default_width = width;
343 window_default_height = height;
344 }
345
341 #ifdef UI_LIBADWAITA 346 #ifdef UI_LIBADWAITA
342 347
343 static void dialog_response(AdwAlertDialog *self, gchar *response, UiEventData *data) { 348 static void dialog_response(AdwAlertDialog *self, gchar *response, UiEventData *data) {
344 UiEvent evt; 349 UiEvent evt;
345 evt.obj = data->obj; 350 evt.obj = data->obj;

mercurial