mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
Mark g_object_get_type function as const, it's a fundamental type and can
2008-08-21 Johan Dahlin <johan@gnome.org> * gobject.h: Mark g_object_get_type function as const, it's a fundamental type and can safely marked as const, as opposed to traditionally *_get_type functions. svn path=/trunk/; revision=7378
This commit is contained in:
parent
306db46123
commit
a12f4b7be7
@ -1,3 +1,10 @@
|
|||||||
|
2008-08-21 Johan Dahlin <johan@gnome.org>
|
||||||
|
|
||||||
|
* gobject.h:
|
||||||
|
Mark g_object_get_type function as const, it's
|
||||||
|
a fundamental type and can safely marked as const,
|
||||||
|
as opposed to traditionally *_get_type functions.
|
||||||
|
|
||||||
2008-08-21 Johan Dahlin <johan@gnome.org>
|
2008-08-21 Johan Dahlin <johan@gnome.org>
|
||||||
|
|
||||||
Bug 548800 – Missing a g_object_get_type function
|
Bug 548800 – Missing a g_object_get_type function
|
||||||
|
@ -396,7 +396,7 @@ GParamSpec* g_object_interface_find_property (gpointer g_iface,
|
|||||||
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
|
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
|
||||||
guint *n_properties_p);
|
guint *n_properties_p);
|
||||||
|
|
||||||
GType g_object_get_type (void);
|
GType g_object_get_type (void) G_GNUC_CONST;
|
||||||
gpointer g_object_new (GType object_type,
|
gpointer g_object_new (GType object_type,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
...);
|
...);
|
||||||
|
Loading…
Reference in New Issue
Block a user