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.
This commit is contained in:
Matthias Clasen
2004-11-28 06:45:52 +00:00
committed by Matthias Clasen
parent 29e9a7183a
commit fdec871410
16 changed files with 133 additions and 68 deletions

View File

@ -29,7 +29,7 @@ struct _GdkFont
gint descent;
};
GType gdk_font_get_type (void);
GType gdk_font_get_type (void) G_GNUC_CONST;
GdkFont* gdk_font_ref (GdkFont *font);
void gdk_font_unref (GdkFont *font);