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/gdkfont.h | |
parent | 29e9a7183a0eafbf495b40d3f96b1fa36ff58842 (diff) | |
download | gdk-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/gdkfont.h')
-rw-r--r-- | gdk/gdkfont.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkfont.h b/gdk/gdkfont.h index 32d66e9d6..b4c1249b6 100644 --- a/gdk/gdkfont.h +++ b/gdk/gdkfont.h @@ -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); |