summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-07-11 17:58:29 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-07-11 17:58:29 +0000
commit693b03a749b75cdaf8fde83da63a45e5cbac2866 (patch)
tree8717f64aa861aa96dfbd768903b031ab9e344c44 /gobject
parentb5dde25253a04407e7c53b4d628d1c6204d73567 (diff)
downloadglib-693b03a749b75cdaf8fde83da63a45e5cbac2866.tar.gz
Remove G_GNUC_NULL_TERMINATED from g_object_new again, since that makes
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)
Diffstat (limited to 'gobject')
-rw-r--r--gobject/ChangeLog7
-rw-r--r--gobject/gobject.h2
-rw-r--r--gobject/gobject.symbols4
3 files changed, 10 insertions, 3 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 18a70df0f..d10a391af 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -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
diff --git a/gobject/gobject.h b/gobject/gobject.h
index e835e7348..c56e330dd 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -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);
diff --git a/gobject/gobject.symbols b/gobject/gobject.symbols
index 9af8c9a96..86c57079d 100644
--- a/gobject/gobject.symbols
+++ b/gobject/gobject.symbols
@@ -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