Bug 548800 – Missing a g_object_get_type function
authorJohan Dahlin <johan@gnome.org>
Thu, 21 Aug 2008 09:18:25 +0000 (09:18 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Thu, 21 Aug 2008 09:18:25 +0000 (09:18 +0000)
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

gobject/ChangeLog
gobject/gobject.c
gobject/gobject.h
gobject/gobject.symbols

index 5a6e5cd6a0c76b86c57d38d528153536daba0196..f4670993709776a095eab1836c2ec6df8b2f2e7d 100644 (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
index 5f4ba990fc84192b2a0028e77bee7922879056cc..577de2b561e8a3f5bf33d42000a250059b112e45 100644 (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
index f2653d3708fd222b13e47a0f1a4bfc11cb15bf85..53a6aed09c88bb83f4b560e59bcb9bc342980edf 100644 (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,
                                               ...);
index 430e4997f2734462239c9e3b6212781fa1dd8a2c..7a98dc31d0eb0c221900a64cae959ee8f33aab29 100644 (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