From fcf4af4736529e4a65f3213cd1f1157b7c258811 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Tue, 17 Feb 2009 09:37:35 +0800 Subject: Use NULL to replace 0 as the last argument of g_object_new. --- src/ibusproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ibusproperty.c') diff --git a/src/ibusproperty.c b/src/ibusproperty.c index 712bf1f..0976363 100644 --- a/src/ibusproperty.c +++ b/src/ibusproperty.c @@ -263,7 +263,7 @@ ibus_property_new (const gchar *key, IBusProperty *prop; - prop = (IBusProperty *)g_object_new (IBUS_TYPE_PROPERTY, 0); + prop = (IBusProperty *)g_object_new (IBUS_TYPE_PROPERTY, NULL); prop->key = g_strdup (key); prop->icon = g_strdup (icon != NULL ? icon : ""); -- cgit