Remove G_GNUC_NULL_TERMINATED from g_object_new again, since that makes
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 Jul 2005 17:58:29 +0000 (17:58 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 11 Jul 2005 17:58:29 +0000 (17:58 +0000)
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

* gobject.h:
* gobject.symbols: Remove G_GNUC_NULL_TERMINATED from
g_object_new again, since that makes gcc warn on calls of
the form g_object_new (some_type, NULL)

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

index 18a70df..d10a391 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gobject.h: 
+       * gobject.symbols: Remove G_GNUC_NULL_TERMINATED from
+       g_object_new again, since that makes gcc warn on calls of 
+       the form g_object_new (some_type, NULL)
+
 2005-07-09  Tor Lillqvist  <tml@novell.com>
 
        * Makefile.am: Don't use the scripts in build/win32 to compile
index e835e73..c56e330 100644 (file)
@@ -131,7 +131,7 @@ GParamSpec**g_object_interface_list_properties  (gpointer     g_iface,
 
 gpointer    g_object_new                      (GType           object_type,
                                               const gchar    *first_property_name,
-                                              ...) G_GNUC_NULL_TERMINATED;
+                                              ...);
 gpointer    g_object_newv                    (GType           object_type,
                                               guint           n_parameters,
                                               GParameter     *parameters);
index 9af8c9a..86c5707 100644 (file)
@@ -127,7 +127,7 @@ g_object_get_valist
 g_object_interface_find_property
 g_object_interface_install_property
 g_object_interface_list_properties
-g_object_new G_GNUC_NULL_TERMINATED
+g_object_new
 g_object_newv
 g_object_new_valist
 g_object_notify
@@ -308,7 +308,7 @@ g_type_add_interface_dynamic
 g_type_add_interface_static
 g_type_check_class_cast
 g_type_check_class_is_a
-g_type_check_instance
+g_type_check_instance 
 g_type_check_instance_cast
 g_type_check_instance_is_a
 g_type_check_is_value_type