summaryrefslogtreecommitdiffstats
path: root/src/ibushotkey.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/ibushotkey.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/ibushotkey.c')
-rw-r--r--src/ibushotkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ibushotkey.c b/src/ibushotkey.c
index eca7666..81e506c 100644
--- a/src/ibushotkey.c
+++ b/src/ibushotkey.c
@@ -315,7 +315,7 @@ ibus_hotkey_profile_copy (IBusHotkeyProfile *dest,
IBusHotkeyProfile *
ibus_hotkey_profile_new (void)
{
- IBusHotkeyProfile *profile = g_object_new (IBUS_TYPE_HOTKEY_PROFILE, 0);
+ IBusHotkeyProfile *profile = g_object_new (IBUS_TYPE_HOTKEY_PROFILE, NULL);
return profile;
}