diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-23 03:35:21 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-23 03:35:21 +0000 |
commit | cd1c63583c98de32baf633730e6eb7022fd4b495 (patch) | |
tree | c1012d29effc617847881a349fe4eda37c0268ca /modules | |
parent | 501129de04f84ea2c6dad72848e024181bfdb80b (diff) | |
download | gtk+-cd1c63583c98de32baf633730e6eb7022fd4b495.tar.gz |
Move G_GNUC_INTERNAL before function declarations. (#352276, Damien
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* modules/engines/pixbuf/pixbuf.h:
* modules/engines/pixbuf/pixbuf-rc-style.h:
* modules/engines/pixbuf/pixbuf-style.h: Move
G_GNUC_INTERNAL before function declarations. (#352276,
Damien Carbery)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/engines/pixbuf/pixbuf-rc-style.h | 4 | ||||
-rw-r--r-- | modules/engines/pixbuf/pixbuf-style.h | 4 | ||||
-rw-r--r-- | modules/engines/pixbuf/pixbuf.h | 22 |
3 files changed, 15 insertions, 15 deletions
diff --git a/modules/engines/pixbuf/pixbuf-rc-style.h b/modules/engines/pixbuf/pixbuf-rc-style.h index 7cc4331de8..a031b6388f 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 G_GNUC_INTERNAL; +extern G_GNUC_INTERNAL GType 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)) @@ -46,4 +46,4 @@ struct _PixbufRcStyleClass GtkRcStyleClass parent_class; }; -void pixbuf_rc_style_register_type (GTypeModule *module) G_GNUC_INTERNAL; +G_GNUC_INTERNAL void pixbuf_rc_style_register_type (GTypeModule *module); diff --git a/modules/engines/pixbuf/pixbuf-style.h b/modules/engines/pixbuf/pixbuf-style.h index f295080781..4502ee5cab 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 G_GNUC_INTERNAL; +extern G_GNUC_INTERNAL GType pixbuf_type_style; #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) G_GNUC_INTERNAL; +G_GNUC_INTERNAL void pixbuf_style_register_type (GTypeModule *module); diff --git a/modules/engines/pixbuf/pixbuf.h b/modules/engines/pixbuf/pixbuf.h index 7f788748cd..77e19d4a4c 100644 --- a/modules/engines/pixbuf/pixbuf.h +++ b/modules/engines/pixbuf/pixbuf.h @@ -188,19 +188,19 @@ struct _ThemeImage }; -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) G_GNUC_INTERNAL; -GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb) G_GNUC_INTERNAL; -void theme_pixbuf_set_border (ThemePixbuf *theme_pb, +G_GNUC_INTERNAL 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); +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) G_GNUC_INTERNAL; -void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb, - gboolean stretch) G_GNUC_INTERNAL; -void theme_pixbuf_render (ThemePixbuf *theme_pb, + gint bottom); +G_GNUC_INTERNAL void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb, + gboolean stretch); +G_GNUC_INTERNAL void theme_pixbuf_render (ThemePixbuf *theme_pb, GdkWindow *window, GdkBitmap *mask, GdkRectangle *clip_rect, @@ -209,7 +209,7 @@ void theme_pixbuf_render (ThemePixbuf *theme_pb, gint dest_x, gint dest_y, gint dest_width, - gint dest_height) G_GNUC_INTERNAL; + gint dest_height); |