+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
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,
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))
GtkRcStyleClass parent_class;
};
-void pixbuf_rc_style_register_type (GTypeModule *module);
+void pixbuf_rc_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;
theme_pixbuf_compute_hints (theme_pb);
}
-GdkPixbuf *
+static GdkPixbuf *
pixbuf_cache_value_new (gchar *filename)
{
GError *err = NULL;
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))
GtkStyleClass parent_class;
};
-void pixbuf_style_register_type (GTypeModule *module);
+void pixbuf_style_register_type (GTypeModule *module) G_GNUC_INTERNAL;
};
-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,
gint dest_x,
gint dest_y,
gint dest_width,
- gint dest_height);
+ gint dest_height) G_GNUC_INTERNAL;