NULL check on default keymap

Ensure that Quartz's default keymap is not accessed before it is
created.
This commit is contained in:
Philip Chimento 2013-08-27 23:46:22 -07:00 committed by John Ralls
parent d9cfe40aeb
commit 0e4bac872c

View File

@ -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");
}