summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-03-11 02:13:11 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-03-11 02:13:11 +0000
commit8cb0674b6ba86156b2be8d8016b71f37c3f50ae4 (patch)
treebec9e1d2fe1ca607fe607ce4329c78ddf840ce72 /modules
parent33fcc83274017fca2052a64d2383f4c24323499b (diff)
downloadgtk+-8cb0674b6ba86156b2be8d8016b71f37c3f50ae4.tar.gz
Clean up exported symbols
Diffstat (limited to 'modules')
-rw-r--r--modules/engines/pixbuf/ChangeLog5
-rw-r--r--modules/engines/pixbuf/pixbuf-draw.c6
-rw-r--r--modules/engines/pixbuf/pixbuf-rc-style.h4
-rw-r--r--modules/engines/pixbuf/pixbuf-render.c2
-rw-r--r--modules/engines/pixbuf/pixbuf-style.h4
-rw-r--r--modules/engines/pixbuf/pixbuf.h14
6 files changed, 20 insertions, 15 deletions
diff --git a/modules/engines/pixbuf/ChangeLog b/modules/engines/pixbuf/ChangeLog
index 3f524b335e..78b24de080 100644
--- a/modules/engines/pixbuf/ChangeLog
+++ b/modules/engines/pixbuf/ChangeLog
@@ -1,5 +1,10 @@
2006-03-10 Matthias Clasen <mclasen@redhat.com>
+ * Don't export any internal functions or variables,
+ only the theme engine abi.
+
+2006-03-10 Matthias Clasen <mclasen@redhat.com>
+
* pixbuf-draw.c (draw_extension): Remove suspicious
code. (#325295, Alexander Nedotsukov)
diff --git a/modules/engines/pixbuf/pixbuf-draw.c b/modules/engines/pixbuf/pixbuf-draw.c
index fcaae96789..ebf902ead8 100644
--- a/modules/engines/pixbuf/pixbuf-draw.c
+++ b/modules/engines/pixbuf/pixbuf-draw.c
@@ -1064,11 +1064,11 @@ draw_resize_grip (GtkStyle *style,
GType pixbuf_type_style = 0;
-void
-pixbuf_style_register_type (GTypeModule *module)
+void
+pixbuf_style_register_type (GTypeModule *module)
{
static const GTypeInfo object_info =
- {
+ {
sizeof (PixbufStyleClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
diff --git a/modules/engines/pixbuf/pixbuf-rc-style.h b/modules/engines/pixbuf/pixbuf-rc-style.h
index 53d93b794e..7cc4331de8 100644
--- a/modules/engines/pixbuf/pixbuf-rc-style.h
+++ b/modules/engines/pixbuf/pixbuf-rc-style.h
@@ -25,7 +25,7 @@
typedef struct _PixbufRcStyle PixbufRcStyle;
typedef struct _PixbufRcStyleClass PixbufRcStyleClass;
-extern GType pixbuf_type_rc_style;
+extern GType pixbuf_type_rc_style G_GNUC_INTERNAL;
#define PIXBUF_TYPE_RC_STYLE pixbuf_type_rc_style
#define PIXBUF_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_RC_STYLE, PixbufRcStyle))
@@ -46,4 +46,4 @@ struct _PixbufRcStyleClass
GtkRcStyleClass parent_class;
};
-void pixbuf_rc_style_register_type (GTypeModule *module);
+void pixbuf_rc_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;
diff --git a/modules/engines/pixbuf/pixbuf-render.c b/modules/engines/pixbuf/pixbuf-render.c
index 916bbd87ca..8ce9d7422c 100644
--- a/modules/engines/pixbuf/pixbuf-render.c
+++ b/modules/engines/pixbuf/pixbuf-render.c
@@ -658,7 +658,7 @@ theme_pixbuf_set_stretch (ThemePixbuf *theme_pb,
theme_pixbuf_compute_hints (theme_pb);
}
-GdkPixbuf *
+static GdkPixbuf *
pixbuf_cache_value_new (gchar *filename)
{
GError *err = NULL;
diff --git a/modules/engines/pixbuf/pixbuf-style.h b/modules/engines/pixbuf/pixbuf-style.h
index 75fc0fd1ad..f295080781 100644
--- a/modules/engines/pixbuf/pixbuf-style.h
+++ b/modules/engines/pixbuf/pixbuf-style.h
@@ -25,7 +25,7 @@
typedef struct _PixbufStyle PixbufStyle;
typedef struct _PixbufStyleClass PixbufStyleClass;
-extern GType pixbuf_type_style;
+extern GType pixbuf_type_style G_GNUC_INTERNAL;
#define PIXBUF_TYPE_STYLE pixbuf_type_style
#define PIXBUF_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_STYLE, PixbufStyle))
@@ -44,6 +44,6 @@ struct _PixbufStyleClass
GtkStyleClass parent_class;
};
-void pixbuf_style_register_type (GTypeModule *module);
+void pixbuf_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;
diff --git a/modules/engines/pixbuf/pixbuf.h b/modules/engines/pixbuf/pixbuf.h
index e0289955aa..7f788748cd 100644
--- a/modules/engines/pixbuf/pixbuf.h
+++ b/modules/engines/pixbuf/pixbuf.h
@@ -188,18 +188,18 @@ struct _ThemeImage
};
-ThemePixbuf *theme_pixbuf_new (void);
-void theme_pixbuf_destroy (ThemePixbuf *theme_pb);
+ThemePixbuf *theme_pixbuf_new (void) G_GNUC_INTERNAL;
+void theme_pixbuf_destroy (ThemePixbuf *theme_pb) G_GNUC_INTERNAL;
void theme_pixbuf_set_filename (ThemePixbuf *theme_pb,
- const char *filename);
-GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb);
+ const char *filename) G_GNUC_INTERNAL;
+GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb) G_GNUC_INTERNAL;
void theme_pixbuf_set_border (ThemePixbuf *theme_pb,
gint left,
gint right,
gint top,
- gint bottom);
+ gint bottom) G_GNUC_INTERNAL;
void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb,
- gboolean stretch);
+ gboolean stretch) G_GNUC_INTERNAL;
void theme_pixbuf_render (ThemePixbuf *theme_pb,
GdkWindow *window,
GdkBitmap *mask,
@@ -209,7 +209,7 @@ void theme_pixbuf_render (ThemePixbuf *theme_pb,
gint dest_x,
gint dest_y,
gint dest_width,
- gint dest_height);
+ gint dest_height) G_GNUC_INTERNAL;