[seahorse-nautilus] nautilus extension: Port to libnautilus-extension-4



commit d4b51676fee6e4d2580506629847cdd88e8ffdbb
Author: Corey Berla <corey berla me>
Date:   Mon Sep 5 16:58:25 2022 -0700

    nautilus extension: Port to libnautilus-extension-4

 meson.build                      | 2 +-
 nautilus-ext/seahorse-nautilus.c | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 746d92e..025e2d1 100644
--- a/meson.build
+++ b/meson.build
@@ -27,7 +27,7 @@ min_gtk_version = '3.18'
 accepted_gpg_versions= ['1.2.0', '1.4.0', '2.0.0', '2.1.0', '2.2.0', '2.3.0']
 min_gpgme_version = '1.0.0'
 
-libnautilus_extension = dependency('libnautilus-extension', version: '>= 2.12.0')
+libnautilus_extension = dependency('libnautilus-extension-4', version: '>= 4.0')
 if nautilus_ext_dir == ''
   nautilus_ext_dir = libnautilus_extension.get_pkgconfig_variable('extensiondir')
 endif
diff --git a/nautilus-ext/seahorse-nautilus.c b/nautilus-ext/seahorse-nautilus.c
index 261e132..b567f1c 100644
--- a/nautilus-ext/seahorse-nautilus.c
+++ b/nautilus-ext/seahorse-nautilus.c
@@ -120,8 +120,7 @@ is_all_mime_types (GList *files, char* types[])
 }
 
 static GList*
-seahorse_nautilus_get_file_items (NautilusMenuProvider *provider,
-                                  GtkWidget *window, GList *files)
+seahorse_nautilus_get_file_items (NautilusMenuProvider *provider, GList *files)
 {
     NautilusMenuItem *item;
     GList *scan, *items = NULL;
@@ -171,7 +170,7 @@ seahorse_nautilus_get_file_items (NautilusMenuProvider *provider,
 }
 
 static void
-seahorse_nautilus_menu_provider_iface_init (NautilusMenuProviderIface *iface)
+seahorse_nautilus_menu_provider_iface_init (NautilusMenuProviderInterface *iface)
 {
     iface->get_file_items = seahorse_nautilus_get_file_items;
 }


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