]> Pileus Git - ~andy/gtk/commitdiff
Clean up exported symbols
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 11 Mar 2006 02:13:11 +0000 (02:13 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 11 Mar 2006 02:13:11 +0000 (02:13 +0000)
modules/engines/pixbuf/ChangeLog
modules/engines/pixbuf/pixbuf-draw.c
modules/engines/pixbuf/pixbuf-rc-style.h
modules/engines/pixbuf/pixbuf-render.c
modules/engines/pixbuf/pixbuf-style.h
modules/engines/pixbuf/pixbuf.h

index 3f524b335ec984a196cde048d003ab63336097df..78b24de080d3d7875ef43fe4b2454c29b9ec7f00 100644 (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>
 
        * pixbuf-draw.c (draw_extension): Remove suspicious
index fcaae96789d9f0d719376603fcef19153d0b96ba..ebf902ead823ee7c8df2c1a0a1320234d3cd8427 100644 (file)
@@ -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,
index 53d93b794e046f333886df05e4fe50f702055188..7cc4331de86ed3d423d0187d2d0209c8254a560f 100644 (file)
@@ -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;
index 916bbd87ca19bab6081690e7efeecf1e220eaeaa..8ce9d7422cfd42685093d2fb31af7c036092bce2 100644 (file)
@@ -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;
index 75fc0fd1ad72b070a326ed20a16dca794ded4c10..f2950807812ed111c4ca1d6c9f8990a62034adde 100644 (file)
@@ -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;
 
 
index e0289955aaba7e3712b9001767f891bbcc012f5c..7f788748cd4e38907ea0faddcfd109144399c570 100644 (file)
@@ -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;