[broadway] Don't return undefined counts in keymap calls

This commit is contained in:
Alexander Larsson 2010-11-25 21:56:36 +01:00
parent 667d23aa7c
commit 4aac045a30

View File

@ -158,6 +158,7 @@ gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
GdkKeymapKey **keys,
gint *n_keys)
{
*n_keys = 0;
return FALSE;
}
@ -168,6 +169,7 @@ gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
guint **keyvals,
gint *n_entries)
{
*n_entries = 0;
return FALSE;
}