summaryrefslogtreecommitdiff
path: root/gdk/gdkvisual.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-11-28 06:45:52 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-11-28 06:45:52 +0000
commitfdec871410755fa82c8922d7ff4791dc59a26b5f (patch)
tree0d843b0236beb1e59ba92734d5f8f30b2cd177b8 /gdk/gdkvisual.h
parent29e9a7183a0eafbf495b40d3f96b1fa36ff58842 (diff)
downloadgdk-pixbuf-fdec871410755fa82c8922d7ff4791dc59a26b5f.tar.gz
Mark as const.
2004-11-28 Matthias Clasen <mclasen@redhat.com> * gdk/gdkvisual.h (gdk_visual_get_type): * gdk/gdkscreen.h (gdk_screen_get_type): * gdk/gdkinput.h (gdk_device_get_type): * gdk/gdk.h (gdk_rectangle_get_type): * gdk/gdkfont.h (gdk_font_get_type): * gdk/gdkevents.h (gdk_event_get_type): * gdk/gdkdrawable.h (gdk_drawable_get_type): * gdk/gdkdisplay.h (gdk_display_get_type): * gdk/gdkcursor.h (gdk_cursor_get_type): * gdk/gdkcolor.h (gdk_color_get_type): Mark as const. * gdk/gdk.symbols: * gdk/Makefile.am (stamp-gdkenumtypes.h): Mark get_type() functions generated by glib-mkenums as const.
Diffstat (limited to 'gdk/gdkvisual.h')
-rw-r--r--gdk/gdkvisual.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkvisual.h b/gdk/gdkvisual.h
index 0bca53556..6e24097bc 100644
--- a/gdk/gdkvisual.h
+++ b/gdk/gdkvisual.h
@@ -67,7 +67,7 @@ struct _GdkVisual
gint blue_prec;
};
-GType gdk_visual_get_type (void);
+GType gdk_visual_get_type (void) G_GNUC_CONST;
#ifndef GDK_MULTIHEAD_SAFE
gint gdk_visual_get_best_depth (void);