Bug 548800 – Missing a g_object_get_type function

2008-08-21  Johan Dahlin  <johan@gnome.org>

    Bug 548800 – Missing a g_object_get_type function

    * gobject.c (g_object_get_type):
    * gobject.h:
    * gobject.symbols:
    Add g_object_get_type


svn path=/trunk/; revision=7377
This commit is contained in:
Johan Dahlin 2008-08-21 09:18:25 +00:00 committed by Johan Dahlin
parent eb6ae44256
commit 306db46123
4 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2008-08-21 Johan Dahlin <johan@gnome.org>
Bug 548800 Missing a g_object_get_type function
* gobject.c (g_object_get_type):
* gobject.h:
* gobject.symbols:
Add g_object_get_type
2008-08-20 Johan Dahlin <johan@gnome.org>
Bug 548689 The type name for GParamSpec is wrong

View File

@ -1022,6 +1022,12 @@ object_interface_check_properties (gpointer func_data,
g_free (pspecs);
}
GType
g_object_get_type (void)
{
return G_TYPE_OBJECT;
}
/**
* g_object_new:
* @object_type: the type id of the #GObject subtype to instantiate

View File

@ -396,6 +396,7 @@ GParamSpec* g_object_interface_find_property (gpointer g_iface,
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
guint *n_properties_p);
GType g_object_get_type (void);
gpointer g_object_new (GType object_type,
const gchar *first_property_name,
...);

View File

@ -126,6 +126,7 @@ g_object_get G_GNUC_NULL_TERMINATED
g_object_get_data
g_object_get_property
g_object_get_qdata
g_object_get_type
g_object_get_valist
g_object_interface_find_property
g_object_interface_install_property