[gnome-boxes/wip/exalm/swipe: 41/46] build: Require libhandy
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/exalm/swipe: 41/46] build: Require libhandy
- Date: Wed, 18 Mar 2020 12:43:48 +0000 (UTC)
commit 441b6228897558a573d2dbe27447431386c19466
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Feb 19 18:56:10 2020 +0500
build: Require libhandy
This will allow to use HdyPaginator widget.
src/main.vala | 2 ++
src/meson.build | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/src/main.vala b/src/main.vala
index ff7e14f3..5182ad4d 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -79,6 +79,8 @@ public int main (string[] args) {
error (err.message);
}
+ Hdy.init (ref args);
+
var app = new Boxes.App ();
var exit_status = app.run (args);
diff --git a/src/meson.build b/src/meson.build
index 57a2ca28..62f2e64b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -26,6 +26,7 @@ c_args = [
'-DGETTEXT_PACKAGE="gnome-boxes"',
'-DCACHEDIR="/var/cache/"',
'-DG_LOG_DOMAIN="Boxes"',
+ '-DHANDY_USE_UNSTABLE_API=1',
]
if get_option ('buildtype').contains ('debug')
@@ -143,6 +144,7 @@ dependencies = [
dependency ('tracker-sparql-2.0'),
dependency ('vte-2.91', version: '>= 0.40.2'),
dependency ('webkit2gtk-4.0'),
+ dependency ('libhandy-0.0', version: '>= 0.0.11'),
valac.find_library ('gio-2.0-workaround', dirs: vapi_dir),
valac.find_library ('linux'),
valac.find_library ('posix'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]