[evince] properties: Update libnautilus-extension includes
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] properties: Update libnautilus-extension includes
- Date: Tue, 4 Feb 2020 22:39:53 +0000 (UTC)
commit 66a7927b42640f58ca0d3e6a9ebb64270f97ef08
Author: Jason Crain <jcrain inspiresomeone us>
Date: Tue Feb 4 04:43:43 2020 -0700
properties: Update libnautilus-extension includes
libnautilus-extension changed to a single-include header in version 3.28
and deprecated the direct inclusion of individual headers.
configure.ac | 2 +-
meson.build | 2 +-
properties/ev-properties-main.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e6e73989..bbda7c40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,7 @@ CAIRO_REQUIRED=1.10.0
GLIB_REQUIRED=2.38.0
LIBSECRET_REQUIRED=0.5
GTK_REQUIRED=3.22.0
-NAUTILUS_REQUIRED=2.91.4
+NAUTILUS_REQUIRED=3.28.0
GDK_PIXBUF_REQUIRED=2.36.5
GSPELL_REQUIRED=1.6.0
SYNCTEX_REQUIRED=1.19
diff --git a/meson.build b/meson.build
index b2232a86..f19213d1 100644
--- a/meson.build
+++ b/meson.build
@@ -174,7 +174,7 @@ if ev_platform == 'gnome'
# *** Nautilus property page build ***
enable_nautilus = get_option('nautilus')
if enable_nautilus
- libnautilus_extension_dep = dependency('libnautilus-extension', version: '>= 2.91.4')
+ libnautilus_extension_dep = dependency('libnautilus-extension', version: '>= 3.28.0')
nautilus_extension_dir = libnautilus_extension_dep.get_pkgconfig_variable('extensiondir',
define_variable: ['libdir', ev_libdir])
endif
diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c
index 261268f8..9aacdf28 100644
--- a/properties/ev-properties-main.c
+++ b/properties/ev-properties-main.c
@@ -34,8 +34,7 @@
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
-#include <libnautilus-extension/nautilus-extension-types.h>
-#include <libnautilus-extension/nautilus-property-page-provider.h>
+#include <nautilus-extension.h>
#include <evince-document.h>
#include "ev-properties-view.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]