[metacity] libmetacity: don't expose private functions



commit d274c718b965a978c33a171092577d1bc4250ec2
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jun 7 14:51:44 2016 +0300

    libmetacity: don't expose private functions

 libmetacity/meta-css-provider-private.h   |    1 +
 libmetacity/meta-style-info-private.h     |    1 +
 libmetacity/meta-theme-gtk-private.h      |    1 +
 libmetacity/meta-theme-impl-private.h     |    1 +
 libmetacity/meta-theme-metacity-private.h |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libmetacity/meta-css-provider-private.h b/libmetacity/meta-css-provider-private.h
index 4a20b34..7c8dc9e 100644
--- a/libmetacity/meta-css-provider-private.h
+++ b/libmetacity/meta-css-provider-private.h
@@ -22,6 +22,7 @@
 
 G_BEGIN_DECLS
 
+G_GNUC_INTERNAL
 #define META_TYPE_CSS_PROVIDER meta_css_provider_get_type ()
 G_DECLARE_FINAL_TYPE (MetaCssProvider, meta_css_provider,
                       META, CSS_PROVIDER, GtkCssProvider)
diff --git a/libmetacity/meta-style-info-private.h b/libmetacity/meta-style-info-private.h
index dfdcff7..9b76472 100644
--- a/libmetacity/meta-style-info-private.h
+++ b/libmetacity/meta-style-info-private.h
@@ -33,6 +33,7 @@ typedef enum
   META_STYLE_ELEMENT_LAST
 } MetaStyleElement;
 
+G_GNUC_INTERNAL
 #define META_TYPE_STYLE_INFO meta_style_info_get_type ()
 G_DECLARE_FINAL_TYPE (MetaStyleInfo, meta_style_info, META, STYLE_INFO, GObject)
 
diff --git a/libmetacity/meta-theme-gtk-private.h b/libmetacity/meta-theme-gtk-private.h
index 284deeb..5c9e57e 100644
--- a/libmetacity/meta-theme-gtk-private.h
+++ b/libmetacity/meta-theme-gtk-private.h
@@ -22,6 +22,7 @@
 
 G_BEGIN_DECLS
 
+G_GNUC_INTERNAL
 #define META_TYPE_THEME_GTK meta_theme_gtk_get_type ()
 G_DECLARE_FINAL_TYPE (MetaThemeGtk, meta_theme_gtk,
                       META, THEME_GTK, MetaThemeImpl)
diff --git a/libmetacity/meta-theme-impl-private.h b/libmetacity/meta-theme-impl-private.h
index 78cb925..00ec269 100644
--- a/libmetacity/meta-theme-impl-private.h
+++ b/libmetacity/meta-theme-impl-private.h
@@ -28,6 +28,7 @@ G_BEGIN_DECLS
 
 typedef struct _MetaFrameGeometry MetaFrameGeometry;
 
+G_GNUC_INTERNAL
 #define META_TYPE_THEME_IMPL meta_theme_impl_get_type ()
 G_DECLARE_DERIVABLE_TYPE (MetaThemeImpl, meta_theme_impl,
                           META, THEME_IMPL, GObject)
diff --git a/libmetacity/meta-theme-metacity-private.h b/libmetacity/meta-theme-metacity-private.h
index b277308..e4d726d 100644
--- a/libmetacity/meta-theme-metacity-private.h
+++ b/libmetacity/meta-theme-metacity-private.h
@@ -29,6 +29,7 @@ typedef struct _MetaFrameLayout MetaFrameLayout;
 typedef struct _MetaFrameStyle MetaFrameStyle;
 typedef struct _MetaFrameStyleSet MetaFrameStyleSet;
 
+G_GNUC_INTERNAL
 #define META_TYPE_THEME_METACITY meta_theme_metacity_get_type ()
 G_DECLARE_FINAL_TYPE (MetaThemeMetacity, meta_theme_metacity,
                       META, THEME_METACITY, MetaThemeImpl)


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