[file-roller] nautilus: Stop using deprecated API
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] nautilus: Stop using deprecated API
- Date: Fri, 22 Jul 2022 21:04:30 +0000 (UTC)
commit 361219cd9e20530789417eeefd03c7cc4037b7d7
Author: Jan Tojnar <jtojnar gmail com>
Date: Fri Jul 15 14:37:58 2022 +0200
nautilus: Stop using deprecated API
These have been deprecated since 3.27.90
<https://gitlab.gnome.org/GNOME/nautilus/-/commit/7e2605c681d065e6b0a3d779c30b892932597991>,
and will be dropped in Nautilus 43
<https://gitlab.gnome.org/GNOME/nautilus/-/commit/3b06c0f28646a8b71883771cf3b7537096143ab6>.
nautilus/nautilus-fileroller.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/nautilus/nautilus-fileroller.c b/nautilus/nautilus-fileroller.c
index 4324ef5d..2f4e9e48 100644
--- a/nautilus/nautilus-fileroller.c
+++ b/nautilus/nautilus-fileroller.c
@@ -299,9 +299,9 @@ nautilus_fr_get_file_items (NautilusMenuProvider *provider,
static void
-nautilus_fr_menu_provider_iface_init (NautilusMenuProviderIface *iface)
+nautilus_fr_menu_provider_interface_init (NautilusMenuProviderInterface *interface)
{
- iface->get_file_items = nautilus_fr_get_file_items;
+ interface->get_file_items = nautilus_fr_get_file_items;
}
@@ -343,8 +343,8 @@ nautilus_fr_register_type (GTypeModule *module)
(GInstanceInitFunc) nautilus_fr_instance_init,
};
- static const GInterfaceInfo menu_provider_iface_info = {
- (GInterfaceInitFunc) nautilus_fr_menu_provider_iface_init,
+ static const GInterfaceInfo menu_provider_interface_info = {
+ (GInterfaceInitFunc) nautilus_fr_menu_provider_interface_init,
NULL,
NULL
};
@@ -357,5 +357,5 @@ nautilus_fr_register_type (GTypeModule *module)
g_type_module_add_interface (module,
fr_type,
NAUTILUS_TYPE_MENU_PROVIDER,
- &menu_provider_iface_info);
+ &menu_provider_interface_info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]