[gedit] recent-osx: build it only on macOS (darwin)



commit b035ab471a76ada7ff237762f4584f31efb224ff
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Nov 25 02:50:56 2020 +0100

    recent-osx: build it only on macOS (darwin)
    
    Although the code is portable, it's only used on macOS, and the code
    would definitely benefit from a haircut (like many people in the world
    right now).

 gedit/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gedit/meson.build b/gedit/meson.build
index cb783b4b8..9fc81468e 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -104,7 +104,6 @@ libgedit_private_sources = [
   'gedit-print-job.c',
   'gedit-print-preview.c',
   'gedit-recent.c',
-  'gedit-recent-osx.c',
   'gedit-replace-dialog.c',
   'gedit-settings.c',
   'gedit-status-menu-button.c',
@@ -123,6 +122,7 @@ libgedit_deps = [
 if host_machine.system() == 'darwin'
   libgedit_private_sources += [
     'gedit-app-osx.m',
+    'gedit-recent-osx.c',
   ]
   libgedit_c_args += [
     '-DOS_OSX=1',


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