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