forked from AuroraMiddleware/gtk
NULL check on default keymap
Ensure that Quartz's default keymap is not accessed before it is created.
This commit is contained in:
parent
d9cfe40aeb
commit
0e4bac872c
@ -492,6 +492,7 @@ update_keymap (void)
|
||||
p[0] = known_numeric_keys[i].keypad_keyval;
|
||||
}
|
||||
|
||||
if (default_keymap != NULL)
|
||||
g_signal_emit_by_name (default_keymap, "keys-changed");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user