ui/gtk/container.c

branch
newapi
changeset 298
c5e207d01ff2
parent 297
a73c60adf188
--- a/ui/gtk/container.c	Sun Sep 15 20:59:48 2024 +0200
+++ b/ui/gtk/container.c	Mon Sep 16 22:09:32 2024 +0200
@@ -343,11 +343,6 @@
 }
 
 
-#if GTK_MAJOR_VERSION >= 4
-#define SCROLLEDWINDOW_NEW() gtk_scrolled_window_new()
-#else
-#define SCROLLEDWINDOW_NEW() gtk_scrolled_window_new(NULL, NULL)
-#endif
 UIWIDGET ui_scrolledwindow_create(UiObject* obj, UiFrameArgs args) {
     UiObject* current = uic_current_obj(obj);
     UI_APPLY_LAYOUT1(current, args);

mercurial