summaryrefslogtreecommitdiffstats
path: root/src/ibusproperty.c
diff options
context:
space:
mode:
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 : "");