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)
This commit is contained in:
Matthias Clasen 2006-12-23 03:35:21 +00:00 committed by Matthias Clasen
parent 501129de04
commit cd1c63583c
4 changed files with 23 additions and 15 deletions

View File

@ -1,3 +1,11 @@
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)
2006-12-22 Matthias Clasen <mclasen@redhat.com> 2006-12-22 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris

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 G_GNUC_INTERNAL; extern G_GNUC_INTERNAL GType pixbuf_type_rc_style;
#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) G_GNUC_INTERNAL; G_GNUC_INTERNAL void pixbuf_rc_style_register_type (GTypeModule *module);

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 G_GNUC_INTERNAL; extern G_GNUC_INTERNAL GType pixbuf_type_style;
#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) G_GNUC_INTERNAL; G_GNUC_INTERNAL void pixbuf_style_register_type (GTypeModule *module);

View File

@ -188,19 +188,19 @@ struct _ThemeImage
}; };
ThemePixbuf *theme_pixbuf_new (void) G_GNUC_INTERNAL; G_GNUC_INTERNAL ThemePixbuf *theme_pixbuf_new (void);
void theme_pixbuf_destroy (ThemePixbuf *theme_pb) G_GNUC_INTERNAL; G_GNUC_INTERNAL void theme_pixbuf_destroy (ThemePixbuf *theme_pb);
void theme_pixbuf_set_filename (ThemePixbuf *theme_pb, G_GNUC_INTERNAL void theme_pixbuf_set_filename (ThemePixbuf *theme_pb,
const char *filename) G_GNUC_INTERNAL; const char *filename);
GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb) G_GNUC_INTERNAL; G_GNUC_INTERNAL GdkPixbuf * theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb);
void theme_pixbuf_set_border (ThemePixbuf *theme_pb, G_GNUC_INTERNAL void theme_pixbuf_set_border (ThemePixbuf *theme_pb,
gint left, gint left,
gint right, gint right,
gint top, gint top,
gint bottom) G_GNUC_INTERNAL; gint bottom);
void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb, G_GNUC_INTERNAL void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb,
gboolean stretch) G_GNUC_INTERNAL; gboolean stretch);
void theme_pixbuf_render (ThemePixbuf *theme_pb, G_GNUC_INTERNAL void theme_pixbuf_render (ThemePixbuf *theme_pb,
GdkWindow *window, GdkWindow *window,
GdkBitmap *mask, GdkBitmap *mask,
GdkRectangle *clip_rect, GdkRectangle *clip_rect,
@ -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) G_GNUC_INTERNAL; gint dest_height);