summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-11-28 06:30:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-11-28 06:30:15 +0000
commit29e9a7183a0eafbf495b40d3f96b1fa36ff58842 (patch)
treee4404ea65141e7bccea5121b791da1a0d3075549 /gdk-pixbuf
parent22ff56c753aff6cee49099302aa94a41ad5d74c8 (diff)
downloadgdk-pixbuf-29e9a7183a0eafbf495b40d3f96b1fa36ff58842.tar.gz
Mark get_type() functions generated by glib-mkenums as const.
2004-11-28 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf.symbols: * Makefile.am: Mark get_type() functions generated by glib-mkenums as const.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog6
-rw-r--r--gdk-pixbuf/Makefile.am2
-rw-r--r--gdk-pixbuf/gdk-pixbuf.symbols12
3 files changed, 13 insertions, 7 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 31c5ab93f..3a90e4868 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk-pixbuf.symbols:
+ * Makefile.am: Mark get_type() functions generated by glib-mkenums
+ as const.
+
Thu Nov 25 14:21:37 2004 Manish Singh <yosh@gi,p.org>
* abicheck.sh: filter out G_GNUC stuff when doing the compare.
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index 21f63913f..ee41f7063 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -363,7 +363,7 @@ s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
( cd $(srcdir) && glib-mkenums \
--fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
- --vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
+ --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
$(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
diff --git a/gdk-pixbuf/gdk-pixbuf.symbols b/gdk-pixbuf/gdk-pixbuf.symbols
index ca3ad33c6..72c9e920b 100644
--- a/gdk-pixbuf/gdk-pixbuf.symbols
+++ b/gdk-pixbuf/gdk-pixbuf.symbols
@@ -1,7 +1,7 @@
-gdk_colorspace_get_type
-gdk_interp_type_get_type
+gdk_colorspace_get_type G_GNUC_CONST
+gdk_interp_type_get_type G_GNUC_CONST
gdk_pixbuf_add_alpha
-gdk_pixbuf_alpha_mode_get_type
+gdk_pixbuf_alpha_mode_get_type G_GNUC_CONST
gdk_pixbuf_animation_get_height
gdk_pixbuf_animation_get_iter
gdk_pixbuf_animation_get_static_image
@@ -11,7 +11,7 @@ gdk_pixbuf_animation_is_static_image
gdk_pixbuf_animation_iter_advance
gdk_pixbuf_animation_iter_get_delay_time
gdk_pixbuf_animation_iter_get_pixbuf
-gdk_pixbuf_animation_iter_get_type
+gdk_pixbuf_animation_iter_get_type G_GNUC_CONST
gdk_pixbuf_animation_iter_on_currently_loading_frame
gdk_pixbuf_animation_new_from_file
gdk_pixbuf_animation_ref
@@ -21,7 +21,7 @@ gdk_pixbuf_composite_color
gdk_pixbuf_composite_color_simple
gdk_pixbuf_copy
gdk_pixbuf_copy_area
-gdk_pixbuf_error_get_type
+gdk_pixbuf_error_get_type
gdk_pixbuf_error_quark
gdk_pixbuf_fill
gdk_pixbuf_flip
@@ -68,7 +68,7 @@ gdk_pixbuf_new_subpixbuf
gdk_pixbuf_non_anim_new
gdk_pixbuf_ref
gdk_pixbuf_rotate_simple
-gdk_pixbuf_rotation_get_type
+gdk_pixbuf_rotation_get_type G_GNUC_CONST
gdk_pixbuf_saturate_and_pixelate
gdk_pixbuf_save
gdk_pixbuf_save_to_buffer