mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Only compile gtkmountoperation-stub if the X11 backend is not enabled
This commit is contained in:
parent
13b94dab10
commit
bd7b29a6c4
@ -814,7 +814,6 @@ endif
|
|||||||
if macos_enabled
|
if macos_enabled
|
||||||
gtk_sources += files([
|
gtk_sources += files([
|
||||||
'gtksearchenginequartz.c',
|
'gtksearchenginequartz.c',
|
||||||
'gtkmountoperation-stub.c',
|
|
||||||
'gtkapplication-quartz.c',
|
'gtkapplication-quartz.c',
|
||||||
'gtkapplication-quartz-menu.c',
|
'gtkapplication-quartz-menu.c',
|
||||||
'gtkfilechoosernativequartz.c',
|
'gtkfilechoosernativequartz.c',
|
||||||
@ -825,7 +824,7 @@ if macos_enabled
|
|||||||
gtk_cargs += ['-xobjective-c'] # FIXME? maybe add_languages() instead?
|
gtk_cargs += ['-xobjective-c'] # FIXME? maybe add_languages() instead?
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not (x11_enabled or win32_enabled or macos_enabled)
|
if not (x11_enabled or win32_enabled)
|
||||||
gtk_sources += ['gtkmountoperation-stub.c', ]
|
gtk_sources += ['gtkmountoperation-stub.c', ]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user