ui/gtk/toolbar.c

changeset 42
9af327d0e0e4
parent 32
e5f4d8af567e
child 44
473954dc6b74
--- a/ui/gtk/toolbar.c	Fri Jun 14 18:24:31 2024 +0200
+++ b/ui/gtk/toolbar.c	Sun Jun 16 11:36:27 2024 +0200
@@ -42,6 +42,8 @@
 #include "../common/context.h"
 
 
+#if UI_GTK2 || UI_GTK3
+
 GtkWidget* ui_create_toolbar(UiObject *obj) {
     GtkWidget *toolbar = gtk_toolbar_new();
 #ifdef UI_GTK3
@@ -417,4 +419,6 @@
     
 }
 
-#endif
+#endif /* UI_GTK3 */
+
+#endif /* UI_GTK2 || UI_GTK3 */

mercurial