[console/wip/jtojnar/nautilus-deprecated: 2/2] nautilus: Fix build with Nautilus 43
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [console/wip/jtojnar/nautilus-deprecated: 2/2] nautilus: Fix build with Nautilus 43
- Date: Fri, 29 Jul 2022 14:41:46 +0000 (UTC)
commit 40fa1af1d5f925771aefe8c359f42c74f7b62699
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Jul 28 23:45:36 2022 +0200
nautilus: Fix build with Nautilus 43
The *Iface symbols were deprecated since Nautilus 3.28 and 43 removes them.
nautilus/kgx-nautilus.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/nautilus/kgx-nautilus.c b/nautilus/kgx-nautilus.c
index bb22bc9..ca884d7 100644
--- a/nautilus/kgx-nautilus.c
+++ b/nautilus/kgx-nautilus.c
@@ -25,11 +25,11 @@
#include "kgx-nautilus-menu-item.h"
-static void kgx_nautilus_menu_provider_iface_init (NautilusMenuProviderIface *iface);
+static void kgx_nautilus_menu_provider_interface_init (NautilusMenuProviderInterface *interface);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (KgxNautilus, kgx_nautilus, G_TYPE_OBJECT, 0,
G_IMPLEMENT_INTERFACE_DYNAMIC (NAUTILUS_TYPE_MENU_PROVIDER,
- kgx_nautilus_menu_provider_iface_init))
+ kgx_nautilus_menu_provider_interface_init))
static void
@@ -94,10 +94,10 @@ kgx_nautilus_get_file_items (NautilusMenuProvider *provider,
static void
-kgx_nautilus_menu_provider_iface_init (NautilusMenuProviderIface *iface)
+kgx_nautilus_menu_provider_interface_init (NautilusMenuProviderInterface *interface)
{
- iface->get_background_items = kgx_nautilus_get_background_items;
- iface->get_file_items = kgx_nautilus_get_file_items;
+ interface->get_background_items = kgx_nautilus_get_background_items;
+ interface->get_file_items = kgx_nautilus_get_file_items;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]