Clean up exported symbols

This commit is contained in:
Matthias Clasen 2006-03-11 02:13:11 +00:00
parent 33fcc83274
commit 8cb0674b6b
6 changed files with 20 additions and 15 deletions

View File

@ -1,3 +1,8 @@
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> 2006-03-10 Matthias Clasen <mclasen@redhat.com>
* pixbuf-draw.c (draw_extension): Remove suspicious * pixbuf-draw.c (draw_extension): Remove suspicious

View File

@ -1064,11 +1064,11 @@ draw_resize_grip (GtkStyle *style,
GType pixbuf_type_style = 0; GType pixbuf_type_style = 0;
void void
pixbuf_style_register_type (GTypeModule *module) pixbuf_style_register_type (GTypeModule *module)
{ {
static const GTypeInfo object_info = static const GTypeInfo object_info =
{ {
sizeof (PixbufStyleClass), sizeof (PixbufStyleClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL, (GBaseFinalizeFunc) NULL,

View File

@ -25,7 +25,7 @@
typedef struct _PixbufRcStyle PixbufRcStyle; typedef struct _PixbufRcStyle PixbufRcStyle;
typedef struct _PixbufRcStyleClass PixbufRcStyleClass; 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_TYPE_RC_STYLE pixbuf_type_rc_style
#define PIXBUF_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_RC_STYLE, PixbufRcStyle)) #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; GtkRcStyleClass parent_class;
}; };
void pixbuf_rc_style_register_type (GTypeModule *module); void pixbuf_rc_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;

View File

@ -658,7 +658,7 @@ theme_pixbuf_set_stretch (ThemePixbuf *theme_pb,
theme_pixbuf_compute_hints (theme_pb); theme_pixbuf_compute_hints (theme_pb);
} }
GdkPixbuf * static GdkPixbuf *
pixbuf_cache_value_new (gchar *filename) pixbuf_cache_value_new (gchar *filename)
{ {
GError *err = NULL; GError *err = NULL;

View File

@ -25,7 +25,7 @@
typedef struct _PixbufStyle PixbufStyle; typedef struct _PixbufStyle PixbufStyle;
typedef struct _PixbufStyleClass PixbufStyleClass; 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_TYPE_STYLE pixbuf_type_style
#define PIXBUF_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_STYLE, PixbufStyle)) #define PIXBUF_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_STYLE, PixbufStyle))
@ -44,6 +44,6 @@ struct _PixbufStyleClass
GtkStyleClass parent_class; GtkStyleClass parent_class;
}; };
void pixbuf_style_register_type (GTypeModule *module); void pixbuf_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;

View File

@ -188,18 +188,18 @@ struct _ThemeImage
}; };
ThemePixbuf *theme_pixbuf_new (void); ThemePixbuf *theme_pixbuf_new (void) G_GNUC_INTERNAL;
void theme_pixbuf_destroy (ThemePixbuf *theme_pb); void theme_pixbuf_destroy (ThemePixbuf *theme_pb) G_GNUC_INTERNAL;
void theme_pixbuf_set_filename (ThemePixbuf *theme_pb, void theme_pixbuf_set_filename (ThemePixbuf *theme_pb,
const char *filename); const char *filename) G_GNUC_INTERNAL;
GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb); GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb) G_GNUC_INTERNAL;
void theme_pixbuf_set_border (ThemePixbuf *theme_pb, void theme_pixbuf_set_border (ThemePixbuf *theme_pb,
gint left, gint left,
gint right, gint right,
gint top, gint top,
gint bottom); gint bottom) G_GNUC_INTERNAL;
void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb, void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb,
gboolean stretch); gboolean stretch) G_GNUC_INTERNAL;
void theme_pixbuf_render (ThemePixbuf *theme_pb, void theme_pixbuf_render (ThemePixbuf *theme_pb,
GdkWindow *window, GdkWindow *window,
GdkBitmap *mask, GdkBitmap *mask,
@ -209,7 +209,7 @@ void theme_pixbuf_render (ThemePixbuf *theme_pb,
gint dest_x, gint dest_x,
gint dest_y, gint dest_y,
gint dest_width, gint dest_width,
gint dest_height); gint dest_height) G_GNUC_INTERNAL;