fix gtk build

Sun, 05 Jan 2025 10:14:52 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 05 Jan 2025 10:14:52 +0100
changeset 434
9a68f8cbeffa
parent 433
605bb5dc34f1
child 435
883a569cc9a3

fix gtk build

ui/gtk/toolkit.h file | annotate | diff | comparison | revisions
--- a/ui/gtk/toolkit.h	Sun Jan 05 10:10:47 2025 +0100
+++ b/ui/gtk/toolkit.h	Sun Jan 05 10:14:52 2025 +0100
@@ -154,6 +154,9 @@
     void        *userdata;
 } UiVarEventData;
 
+typedef enum UiOrientation UiOrientation;
+enum UiOrientation { UI_HORIZONTAL = 0, UI_VERTICAL };
+
 #ifndef UI_GTK4
 struct UiSelection {
     GtkSelectionData *data;

mercurial