Commit 306db461 authored by Johan Dahlin's avatar Johan Dahlin Committed by Johan Dahlin

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
parent eb6ae442
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
......
......@@ -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
......
......@@ -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,
...);
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment