diff options
author | Peng Huang <phuang@phuang.nay.redhat.com> | 2009-02-17 09:37:35 +0800 |
---|---|---|
committer | Peng Huang <phuang@phuang.nay.redhat.com> | 2009-02-17 09:37:35 +0800 |
commit | fcf4af4736529e4a65f3213cd1f1157b7c258811 (patch) | |
tree | d78af76642cb78d588dd83b1f6faff8534a5dbdc /src/ibusproperty.c | |
parent | 50453e4380288f343af04e02bf9e50ea438f198c (diff) | |
download | ibus-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.c | 2 |
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 : ""); |