[nautilus/wip/antoniof/extensions-API-break: 3/4] libnautilus-extension: Remove compatibility typedefs




commit a9bc154e19ea79c29a982585094498a44a8c2bd3
Author: António Fernandes <antoniof gnome org>
Date:   Sat Jul 9 17:57:05 2022 +0100

    libnautilus-extension: Remove compatibility typedefs
    
    Now that we have broken the API, remove compatibility typedefs
    introduced in 7e2605c681d065e6b0a3d779c30b892932597991
    
    Also update audio-video-properies to use the new symbols.

 extensions/audio-video-properties/totem-properties-main.c |  4 ++--
 libnautilus-extension/nautilus-column-provider.h          |  6 ------
 libnautilus-extension/nautilus-file-info.h                | 11 -----------
 libnautilus-extension/nautilus-info-provider.h            |  6 ------
 libnautilus-extension/nautilus-location-widget-provider.h |  6 ------
 libnautilus-extension/nautilus-menu-provider.h            |  6 ------
 libnautilus-extension/nautilus-property-page-provider.h   |  6 ------
 7 files changed, 2 insertions(+), 43 deletions(-)
---
diff --git a/extensions/audio-video-properties/totem-properties-main.c 
b/extensions/audio-video-properties/totem-properties-main.c
index 126aa0a29..31a376ccd 100644
--- a/extensions/audio-video-properties/totem-properties-main.c
+++ b/extensions/audio-video-properties/totem-properties-main.c
@@ -34,7 +34,7 @@
 
 static GType tpp_type = 0;
 static void property_page_provider_iface_init
-       (NautilusPropertyPageProviderIface *iface);
+       (NautilusPropertyPageProviderInterface *iface);
 static GList *totem_properties_get_pages
        (NautilusPropertyPageProvider *provider, GList *files);
 
@@ -68,7 +68,7 @@ totem_properties_plugin_register_type (GTypeModule *module)
 }
 
 static void
-property_page_provider_iface_init (NautilusPropertyPageProviderIface *iface)
+property_page_provider_iface_init (NautilusPropertyPageProviderInterface *iface)
 {
        iface->get_pages = totem_properties_get_pages;
 }
diff --git a/libnautilus-extension/nautilus-column-provider.h 
b/libnautilus-extension/nautilus-column-provider.h
index 3cf15475a..e441f5862 100644
--- a/libnautilus-extension/nautilus-column-provider.h
+++ b/libnautilus-extension/nautilus-column-provider.h
@@ -46,12 +46,6 @@ G_DECLARE_INTERFACE (NautilusColumnProvider, nautilus_column_provider,
                      NAUTILUS, COLUMN_PROVIDER,
                      GObject)
 
-/* For compatibility reasons, remove this once you start introducing breaking changes. */
-/**
- * NautilusColumnProviderIface: (skip)
- */
-typedef NautilusColumnProviderInterface NautilusColumnProviderIface;
-
 /**
  * SECTION:nautilus-column-provider
  * @title: NautilusColumnProvider
diff --git a/libnautilus-extension/nautilus-file-info.h b/libnautilus-extension/nautilus-file-info.h
index baa8c8d3b..04fc6a157 100644
--- a/libnautilus-extension/nautilus-file-info.h
+++ b/libnautilus-extension/nautilus-file-info.h
@@ -37,17 +37,6 @@ G_BEGIN_DECLS
 
 G_DECLARE_INTERFACE (NautilusFileInfo, nautilus_file_info, NAUTILUS, FILE_INFO, GObject)
 
-/* For compatibility reasons; remove this once you start introducing breaking changes.
- *
- * I’ve only noticed nautilus-python depending on this, but the context is that
- * NautilusFileInfo used to be an alias for NautilusFile to make it easier to
- * implement the interface,
- */
-/**
- * NautilusFile: (skip)
- */
-typedef struct NautilusFile NautilusFile;
-
 /**
  * SECTION:nautilus-file-info
  * @title: NautilusFileInfo
diff --git a/libnautilus-extension/nautilus-info-provider.h b/libnautilus-extension/nautilus-info-provider.h
index 7418b1ccd..d98421279 100644
--- a/libnautilus-extension/nautilus-info-provider.h
+++ b/libnautilus-extension/nautilus-info-provider.h
@@ -45,12 +45,6 @@ G_DECLARE_INTERFACE (NautilusInfoProvider, nautilus_info_provider,
                      NAUTILUS, INFO_PROVIDER,
                      GObject)
 
-/* For compatibility reasons, remove this once you start introducing breaking changes. */
-/**
- * NautilusInfoProviderIface: (skip)
- */
-typedef NautilusInfoProviderInterface NautilusInfoProviderIface;
-
 /**
  * SECTION:nautilus-info-provider
  * @title: NautilusInfoProvider
diff --git a/libnautilus-extension/nautilus-location-widget-provider.h 
b/libnautilus-extension/nautilus-location-widget-provider.h
index 2b04ba57e..c8cd87312 100644
--- a/libnautilus-extension/nautilus-location-widget-provider.h
+++ b/libnautilus-extension/nautilus-location-widget-provider.h
@@ -47,12 +47,6 @@ G_DECLARE_INTERFACE (NautilusLocationWidgetProvider, nautilus_location_widget_pr
                      NAUTILUS, LOCATION_WIDGET_PROVIDER,
                      GObject)
 
-/* For compatibility reasons, remove this once you start introducing breaking changes. */
-/**
- * NautilusLocationWidgetProviderIface: (skip)
- */
-typedef NautilusLocationWidgetProviderInterface NautilusLocationWidgetProviderIface;
-
 /**
  * SECTION:nautilus-location-widget-provider
  * @title: NautilusLocationWidgetProvider
diff --git a/libnautilus-extension/nautilus-menu-provider.h b/libnautilus-extension/nautilus-menu-provider.h
index ad69add45..43e4c0a57 100644
--- a/libnautilus-extension/nautilus-menu-provider.h
+++ b/libnautilus-extension/nautilus-menu-provider.h
@@ -47,12 +47,6 @@ G_DECLARE_INTERFACE (NautilusMenuProvider, nautilus_menu_provider,
                      NAUTILUS, MENU_PROVIDER,
                      GObject)
 
-/* For compatibility reasons, remove this once you start introducing breaking changes. */
-/**
- * NautilusMenuProviderIface: (skip)
- */
-typedef NautilusMenuProviderInterface NautilusMenuProviderIface;
-
 /**
  * SECTION:nautilus-menu-provider
  * @title: NautilusMenuProvider
diff --git a/libnautilus-extension/nautilus-property-page-provider.h 
b/libnautilus-extension/nautilus-property-page-provider.h
index 8c9fe328c..0a8ff85c6 100644
--- a/libnautilus-extension/nautilus-property-page-provider.h
+++ b/libnautilus-extension/nautilus-property-page-provider.h
@@ -48,12 +48,6 @@ G_DECLARE_INTERFACE (NautilusPropertyPageProvider, nautilus_property_page_provid
                      NAUTILUS, PROPERTY_PAGE_PROVIDER,
                      GObject)
 
-/* For compatibility reasons, remove this once you start introducing breaking changes. */
-/**
- * NautilusPropertyPageProviderIface: (skip)
- */
-typedef NautilusPropertyPageProviderInterface NautilusPropertyPageProviderIface;
-
 /**
  * SECTION:nautilus-property-page-provider
  * @title: NautilusPropertyPageProvider


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