[gtk/ebassi/build-fixes: 2/3] build: Replace deprecated 'gui_app'




commit 6f2ff620bd213c11e481224f1fefc4e9d2dd835e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Dec 24 15:51:11 2021 +0000

    build: Replace deprecated 'gui_app'
    
    Use `win_subsystem: 'windows'` instead.

 demos/constraint-editor/meson.build | 2 +-
 demos/gtk-demo/meson.build          | 4 ++--
 demos/icon-browser/meson.build      | 2 +-
 demos/node-editor/meson.build       | 2 +-
 demos/print-editor/meson.build      | 2 +-
 demos/widget-factory/meson.build    | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/demos/constraint-editor/meson.build b/demos/constraint-editor/meson.build
index 2dfa14a347..22f0496de9 100644
--- a/demos/constraint-editor/meson.build
+++ b/demos/constraint-editor/meson.build
@@ -17,7 +17,7 @@ executable('gtk4-constraint-editor',
   c_args: common_cflags,
   dependencies: libgtk_dep,
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: false,
 )
diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
index 3576399f04..5b79dfad5f 100644
--- a/demos/gtk-demo/meson.build
+++ b/demos/gtk-demo/meson.build
@@ -242,7 +242,7 @@ executable('gtk4-demo',
   c_args: gtkdemo_args + demo_cflags,
   dependencies: gtkdemo_deps,
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: true,
 )
@@ -252,7 +252,7 @@ executable('gtk4-demo-application',
   c_args: gtkdemo_args + common_cflags,
   dependencies: gtkdemo_deps,
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: true,
 )
diff --git a/demos/icon-browser/meson.build b/demos/icon-browser/meson.build
index 9c7ddb99de..a1ae92619d 100644
--- a/demos/icon-browser/meson.build
+++ b/demos/icon-browser/meson.build
@@ -16,7 +16,7 @@ executable('gtk4-icon-browser',
   c_args: common_cflags,
   dependencies: [ libgtk_dep, demo_conf_h ],
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: true,
 )
diff --git a/demos/node-editor/meson.build b/demos/node-editor/meson.build
index 932ec19b1c..7fe5561267 100644
--- a/demos/node-editor/meson.build
+++ b/demos/node-editor/meson.build
@@ -17,7 +17,7 @@ executable('gtk4-node-editor',
   c_args: [
     '-DNODE_EDITOR_SOURCE_DIR="@0@/../../testsuite/gsk/compare/"'.format(meson.current_source_dir())
   ] + common_cflags,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: false,
 )
diff --git a/demos/print-editor/meson.build b/demos/print-editor/meson.build
index e0dbf773d9..6813a7f2cc 100644
--- a/demos/print-editor/meson.build
+++ b/demos/print-editor/meson.build
@@ -3,7 +3,7 @@ executable('gtk4-print-editor',
   c_args: common_cflags,
   dependencies: [ libgtk_dep, demo_conf_h ],
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: true,
 )
diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build
index 01d9505ef7..800230b512 100644
--- a/demos/widget-factory/meson.build
+++ b/demos/widget-factory/meson.build
@@ -74,7 +74,7 @@ executable('gtk4-widget-factory',
   c_args: common_cflags,
   dependencies: [ libgtk_dep, demo_conf_h ],
   include_directories: confinc,
-  gui_app: true,
+  win_subsystem: 'windows',
   link_args: extra_demo_ldflags,
   install: true,
 )


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