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)
This commit is contained in:
Matthias Clasen 2005-07-11 17:58:29 +00:00 committed by Matthias Clasen
parent b5dde25253
commit 693b03a749
3 changed files with 10 additions and 3 deletions

View 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

View 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);

View 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