glib r7377 - trunk/gobject
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7377 - trunk/gobject
- Date: Thu, 21 Aug 2008 09:18:26 +0000 (UTC)
Author: johan
Date: Thu Aug 21 09:18:25 2008
New Revision: 7377
URL: http://svn.gnome.org/viewvc/glib?rev=7377&view=rev
Log:
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
Modified:
trunk/gobject/ChangeLog
trunk/gobject/gobject.c
trunk/gobject/gobject.h
trunk/gobject/gobject.symbols
Modified: trunk/gobject/gobject.c
==============================================================================
--- trunk/gobject/gobject.c (original)
+++ trunk/gobject/gobject.c Thu Aug 21 09:18:25 2008
@@ -1022,6 +1022,12 @@
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
Modified: trunk/gobject/gobject.h
==============================================================================
--- trunk/gobject/gobject.h (original)
+++ trunk/gobject/gobject.h Thu Aug 21 09:18:25 2008
@@ -396,6 +396,7 @@
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,
...);
Modified: trunk/gobject/gobject.symbols
==============================================================================
--- trunk/gobject/gobject.symbols (original)
+++ trunk/gobject/gobject.symbols Thu Aug 21 09:18:25 2008
@@ -126,6 +126,7 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]