[gtk: 2/4] Only compile gtkmountoperation-stub if the X11 backend is not enabled




commit bd7b29a6c48712d35afbddd672cded48844011ae
Author: Dan Cîrnaț <dan alt md>
Date:   Tue May 4 13:51:35 2021 +0200

    Only compile gtkmountoperation-stub if the X11 backend is not enabled

 gtk/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index ed6c97617b..2bb41b03e7 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -814,7 +814,6 @@ endif
 if macos_enabled
   gtk_sources += files([
     'gtksearchenginequartz.c',
-    'gtkmountoperation-stub.c',
     'gtkapplication-quartz.c',
     'gtkapplication-quartz-menu.c',
     'gtkfilechoosernativequartz.c',
@@ -825,7 +824,7 @@ if macos_enabled
   gtk_cargs += ['-xobjective-c']  # FIXME? maybe add_languages() instead?
 endif
 
-if not (x11_enabled or win32_enabled or macos_enabled)
+if not (x11_enabled or win32_enabled)
   gtk_sources += ['gtkmountoperation-stub.c', ]
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]