[nautilus/cherry-pick-068f0315] extension: Mark backwards-compatibility typedefs as not introspectable



commit 94c00c94781b8ed2ca175877a126ac4a78a357ef
Author: Aaron Jacobs <atheriel gmail com>
Date:   Sun Nov 28 16:22:53 2021 -0500

    extension: Mark backwards-compatibility typedefs as not introspectable
    
    I believe these are only included to prevent breakage of existing C
    extensions, but as they're not intended for actual use we should mark
    them with `(skip)`.
    
    This has the added benefit of making the VAPI file generated from the
    resulting GIR file much less noisy.
    
    
    (cherry picked from commit ecf366b58e6e0820d16eca7b934ef66112f414f7)

 libnautilus-extension/nautilus-column-provider.h          | 3 +++
 libnautilus-extension/nautilus-file-info.h                | 3 +++
 libnautilus-extension/nautilus-info-provider.h            | 3 +++
 libnautilus-extension/nautilus-location-widget-provider.h | 3 +++
 libnautilus-extension/nautilus-menu-provider.h            | 3 +++
 libnautilus-extension/nautilus-property-page-provider.h   | 3 +++
 6 files changed, 18 insertions(+)
---
diff --git a/libnautilus-extension/nautilus-column-provider.h 
b/libnautilus-extension/nautilus-column-provider.h
index e9d820b6b..a5a646889 100644
--- a/libnautilus-extension/nautilus-column-provider.h
+++ b/libnautilus-extension/nautilus-column-provider.h
@@ -47,6 +47,9 @@ G_DECLARE_INTERFACE (NautilusColumnProvider, nautilus_column_provider,
                      GObject)
 
 /* For compatibility reasons, remove this once you start introducing breaking changes. */
+/**
+ * NautilusColumnProviderIface: (skip)
+ */
 typedef NautilusColumnProviderInterface NautilusColumnProviderIface;
 
 /**
diff --git a/libnautilus-extension/nautilus-file-info.h b/libnautilus-extension/nautilus-file-info.h
index 271f0b89e..afd3412de 100644
--- a/libnautilus-extension/nautilus-file-info.h
+++ b/libnautilus-extension/nautilus-file-info.h
@@ -43,6 +43,9 @@ G_DECLARE_INTERFACE (NautilusFileInfo, nautilus_file_info, NAUTILUS, FILE_INFO,
  * NautilusFileInfo used to be an alias for NautilusFile to make it easier to
  * implement the interface,
  */
+/**
+ * NautilusFile: (skip)
+ */
 typedef struct NautilusFile NautilusFile;
 
 /**
diff --git a/libnautilus-extension/nautilus-info-provider.h b/libnautilus-extension/nautilus-info-provider.h
index 285f67253..7418b1ccd 100644
--- a/libnautilus-extension/nautilus-info-provider.h
+++ b/libnautilus-extension/nautilus-info-provider.h
@@ -46,6 +46,9 @@ G_DECLARE_INTERFACE (NautilusInfoProvider, nautilus_info_provider,
                      GObject)
 
 /* For compatibility reasons, remove this once you start introducing breaking changes. */
+/**
+ * NautilusInfoProviderIface: (skip)
+ */
 typedef NautilusInfoProviderInterface NautilusInfoProviderIface;
 
 /**
diff --git a/libnautilus-extension/nautilus-location-widget-provider.h 
b/libnautilus-extension/nautilus-location-widget-provider.h
index f3573828f..4780cfffd 100644
--- a/libnautilus-extension/nautilus-location-widget-provider.h
+++ b/libnautilus-extension/nautilus-location-widget-provider.h
@@ -48,6 +48,9 @@ G_DECLARE_INTERFACE (NautilusLocationWidgetProvider, nautilus_location_widget_pr
                      GObject)
 
 /* For compatibility reasons, remove this once you start introducing breaking changes. */
+/**
+ * NautilusLocationWidgetProviderIface: (skip)
+ */
 typedef NautilusLocationWidgetProviderInterface NautilusLocationWidgetProviderIface;
 
 /**
diff --git a/libnautilus-extension/nautilus-menu-provider.h b/libnautilus-extension/nautilus-menu-provider.h
index ca64ab266..ad69add45 100644
--- a/libnautilus-extension/nautilus-menu-provider.h
+++ b/libnautilus-extension/nautilus-menu-provider.h
@@ -48,6 +48,9 @@ G_DECLARE_INTERFACE (NautilusMenuProvider, nautilus_menu_provider,
                      GObject)
 
 /* For compatibility reasons, remove this once you start introducing breaking changes. */
+/**
+ * NautilusMenuProviderIface: (skip)
+ */
 typedef NautilusMenuProviderInterface NautilusMenuProviderIface;
 
 /**
diff --git a/libnautilus-extension/nautilus-property-page-provider.h 
b/libnautilus-extension/nautilus-property-page-provider.h
index 61bcd8b63..83778f6e5 100644
--- a/libnautilus-extension/nautilus-property-page-provider.h
+++ b/libnautilus-extension/nautilus-property-page-provider.h
@@ -49,6 +49,9 @@ G_DECLARE_INTERFACE (NautilusPropertyPageProvider, nautilus_property_page_provid
                      GObject)
 
 /* For compatibility reasons, remove this once you start introducing breaking changes. */
+/**
+ * NautilusPropertyPageProviderIface: (skip)
+ */
 typedef NautilusPropertyPageProviderInterface NautilusPropertyPageProviderIface;
 
 /**


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