[metacity] libmetacity: don't expose private functions



commit 8abae212458d826ec8c85fd539c08e2b57c1c5ed
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Feb 7 23:30:09 2016 +0200

    libmetacity: don't expose private functions

 libmetacity/meta-theme-impl-private.h     |    4 ++++
 libmetacity/meta-theme-metacity-private.h |    7 +++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/libmetacity/meta-theme-impl-private.h b/libmetacity/meta-theme-impl-private.h
index cd3200e..0e8e89d 100644
--- a/libmetacity/meta-theme-impl-private.h
+++ b/libmetacity/meta-theme-impl-private.h
@@ -75,18 +75,22 @@ struct _MetaThemeImplClass
                                     GdkPixbuf                *icon);
 };
 
+G_GNUC_INTERNAL
 void               meta_theme_impl_add_style_set (MetaThemeImpl           *impl,
                                                   MetaFrameType            type,
                                                   MetaFrameStyleSet       *style_set);
 
+G_GNUC_INTERNAL
 MetaFrameStyleSet *meta_theme_impl_get_style_set (MetaThemeImpl           *impl,
                                                   MetaFrameType            type);
 
+G_GNUC_INTERNAL
 void               get_button_rect               (MetaButtonType           type,
                                                   const MetaFrameGeometry *fgeom,
                                                   gint                     middle_background_offset,
                                                   GdkRectangle            *rect);
 
+G_GNUC_INTERNAL
 MetaButtonState    map_button_state              (MetaButtonType           button_type,
                                                   const MetaFrameGeometry *fgeom,
                                                   gint                     middle_bg_offset,
diff --git a/libmetacity/meta-theme-metacity-private.h b/libmetacity/meta-theme-metacity-private.h
index 7da6717..b277308 100644
--- a/libmetacity/meta-theme-metacity-private.h
+++ b/libmetacity/meta-theme-metacity-private.h
@@ -33,26 +33,33 @@ typedef struct _MetaFrameStyleSet MetaFrameStyleSet;
 G_DECLARE_FINAL_TYPE (MetaThemeMetacity, meta_theme_metacity,
                       META, THEME_METACITY, MetaThemeImpl)
 
+G_GNUC_INTERNAL
 gboolean           meta_theme_metacity_lookup_int          (MetaThemeMetacity  *metacity,
                                                             const gchar        *name,
                                                             gint               *value);
 
+G_GNUC_INTERNAL
 gboolean           meta_theme_metacity_lookup_float        (MetaThemeMetacity  *metacity,
                                                             const gchar        *name,
                                                             gdouble            *value);
 
+G_GNUC_INTERNAL
 MetaDrawOpList    *meta_theme_metacity_lookup_draw_op_list (MetaThemeMetacity  *metacity,
                                                             const gchar        *name);
 
+G_GNUC_INTERNAL
 MetaFrameLayout   *meta_theme_metacity_lookup_layout       (MetaThemeMetacity  *metacity,
                                                             const gchar        *name);
 
+G_GNUC_INTERNAL
 MetaFrameStyle    *meta_theme_metacity_lookup_style        (MetaThemeMetacity  *metacity,
                                                             const gchar        *name);
 
+G_GNUC_INTERNAL
 MetaFrameStyleSet *meta_theme_metacity_lookup_style_set    (MetaThemeMetacity  *metacity,
                                                             const gchar        *name);
 
+G_GNUC_INTERNAL
 guint              meta_theme_metacity_earliest_version_with_button (MetaButtonType type);
 
 G_END_DECLS


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