summaryrefslogtreecommitdiffstats
path: root/src/ibusproperty.c
diff options
context:
space:
mode:
authorPeng Huang <phuang@phuang.nay.redhat.com>2009-02-17 09:37:35 +0800
committerPeng Huang <phuang@phuang.nay.redhat.com>2009-02-17 09:37:35 +0800
commitfcf4af4736529e4a65f3213cd1f1157b7c258811 (patch)
treed78af76642cb78d588dd83b1f6faff8534a5dbdc /src/ibusproperty.c
parent50453e4380288f343af04e02bf9e50ea438f198c (diff)
downloadibus-fcf4af4736529e4a65f3213cd1f1157b7c258811.tar.gz
ibus-fcf4af4736529e4a65f3213cd1f1157b7c258811.tar.xz
ibus-fcf4af4736529e4a65f3213cd1f1157b7c258811.zip
Use NULL to replace 0 as the last argument of g_object_new.
Diffstat (limited to 'src/ibusproperty.c')
-rw-r--r--src/ibusproperty.c2
1 files changed, 1 insertions, 1 deletions
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 : "");