diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-28 06:45:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-28 06:45:52 +0000 |
commit | fdec871410755fa82c8922d7ff4791dc59a26b5f (patch) | |
tree | 0d843b0236beb1e59ba92734d5f8f30b2cd177b8 /gdk/gdkcursor.h | |
parent | 29e9a7183a0eafbf495b40d3f96b1fa36ff58842 (diff) | |
download | gtk+-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/gdkcursor.h')
-rw-r--r-- | gdk/gdkcursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h index f15db970f1..b3e37da260 100644 --- a/gdk/gdkcursor.h +++ b/gdk/gdkcursor.h @@ -104,7 +104,7 @@ struct _GdkCursor /* Cursors */ -GType gdk_cursor_get_type (void); +GType gdk_cursor_get_type (void) G_GNUC_CONST; GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display, GdkCursorType cursor_type); |