summaryrefslogtreecommitdiffstats
path: root/src/ibushotkey.c
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2009-03-02 13:05:22 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2009-03-02 13:05:22 +0800
commite1c8775b084f3c5080e185a94d0e41f185526eba (patch)
tree2281d6ab830389387d797eac09e309e286595b55 /src/ibushotkey.c
parentcd4d9b6ebfa4a66ba6bd89c5b7d2b34eb25864af (diff)
downloadibus-e1c8775b084f3c5080e185a94d0e41f185526eba.tar.gz
ibus-e1c8775b084f3c5080e185a94d0e41f185526eba.tar.xz
ibus-e1c8775b084f3c5080e185a94d0e41f185526eba.zip
Fix some compile problems with Sun C compiler.
Diffstat (limited to 'src/ibushotkey.c')
-rw-r--r--src/ibushotkey.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ibushotkey.c b/src/ibushotkey.c
index 81e506c..0f1b314 100644
--- a/src/ibushotkey.c
+++ b/src/ibushotkey.c
@@ -390,8 +390,8 @@ ibus_hotkey_profile_remove_hotkey (IBusHotkeyProfile *profile,
priv = IBUS_HOTKEY_PROFILE_GET_PRIVATE (profile);
IBusHotkey hotkey = {
- keyval : keyval,
- modifiers : modifiers
+ .keyval = keyval,
+ .modifiers = modifiers
};
IBusHotkey *p1;
@@ -465,8 +465,8 @@ ibus_hotkey_profile_filter_key_event (IBusHotkeyProfile *profile,
priv = IBUS_HOTKEY_PROFILE_GET_PRIVATE (profile);
IBusHotkey hotkey = {
- keyval : keyval,
- modifiers : modifiers & priv->mask,
+ .keyval = keyval,
+ .modifiers = modifiers & priv->mask,
};
GQuark event = (GQuark) GPOINTER_TO_UINT (g_tree_lookup (priv->hotkeys, &hotkey));