From cd1c63583c98de32baf633730e6eb7022fd4b495 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 23 Dec 2006 03:35:21 +0000 Subject: [PATCH] Move G_GNUC_INTERNAL before function declarations. (#352276, Damien 2006-12-22 Matthias Clasen * 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) --- ChangeLog | 8 ++++++++ modules/engines/pixbuf/pixbuf-rc-style.h | 4 ++-- modules/engines/pixbuf/pixbuf-style.h | 4 ++-- modules/engines/pixbuf/pixbuf.h | 22 +++++++++++----------- 4 files changed, 23 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc35db5c7d..0b06485fc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-12-22 Matthias Clasen + + * 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) + 2006-12-22 Matthias Clasen * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris 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);