fix generic file icon (GTK) newapi

Tue, 29 Oct 2024 11:25:32 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 29 Oct 2024 11:25:32 +0100
branch
newapi
changeset 368
02ea96c6ae64
parent 367
1c3af8e31d8e
child 369
f16a1cde664e

fix generic file icon (GTK)

ui/gtk/icon.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/icon.c	Tue Oct 29 11:17:59 2024 +0100
+++ b/ui/gtk/icon.c	Tue Oct 29 11:25:32 2024 +0100
@@ -124,6 +124,10 @@
     if(!path) {
         icon = ui_icon("application-x-generic", size);
     }
+#else
+    if(!icon) {
+        icon = ui_icon("application-x-generic", size);
+    }
 #endif
     return icon;
 }

mercurial