fix gtk build when webkit is not enabled

3 weeks ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 23 Feb 2025 14:38:27 +0100 (3 weeks ago)
changeset 472
9ec14d31158a
parent 471
063a9f29098c
child 473
5fde0356b66a

fix gtk build when webkit is not enabled

ui/gtk/webview.h file | annotate | diff | comparison | revisions
--- a/ui/gtk/webview.h	Sun Feb 23 14:28:47 2025 +0100
+++ b/ui/gtk/webview.h	Sun Feb 23 14:38:27 2025 +0100
@@ -28,6 +28,8 @@
 #ifndef WEBVIEW_H
 #define WEBVIEW_H
 
+#ifdef UI_WEBVIEW
+
 #include "../ui/webview.h"
 #include <webkit/webkit.h>
 
@@ -62,5 +64,7 @@
 }
 #endif
 
+#endif /* UI_WEBVIEW */
+
 #endif /* WEBVIEW_H */
 

mercurial