summaryrefslogtreecommitdiff
path: root/gdk/gdkdrawable.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/gdkdrawable.h
parent29e9a7183a0eafbf495b40d3f96b1fa36ff58842 (diff)
downloadgtk+-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/gdkdrawable.h')
-rw-r--r--gdk/gdkdrawable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h
index cc2cf6a4bf..3fb9ea846a 100644
--- a/gdk/gdkdrawable.h
+++ b/gdk/gdkdrawable.h
@@ -189,7 +189,7 @@ struct _GdkTrapezoid
double y1, x11, x21, y2, x12, x22;
};
-GType gdk_drawable_get_type (void);
+GType gdk_drawable_get_type (void) G_GNUC_CONST;
/* Manipulation of drawables
*/