From: Matthias Clasen Date: Mon, 11 Jul 2005 17:58:29 +0000 (+0000) Subject: Remove G_GNUC_NULL_TERMINATED from g_object_new again, since that makes X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=693b03a749b75cdaf8fde83da63a45e5cbac2866;p=dana%2Fcg-glib.git Remove G_GNUC_NULL_TERMINATED from g_object_new again, since that makes 2005-07-11 Matthias Clasen * 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) --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 18a70df0..d10a391a 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +2005-07-11 Matthias Clasen + + * 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 * Makefile.am: Don't use the scripts in build/win32 to compile diff --git a/gobject/gobject.h b/gobject/gobject.h index e835e734..c56e330d 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 9af8c9a9..86c57079 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