summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/font-selector-toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/font-selector-toolbar.cpp')
-rw-r--r--src/ui/widget/font-selector-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/font-selector-toolbar.cpp b/src/ui/widget/font-selector-toolbar.cpp
index 87dadf211..276b05cd8 100644
--- a/src/ui/widget/font-selector-toolbar.cpp
+++ b/src/ui/widget/font-selector-toolbar.cpp
@@ -263,7 +263,7 @@ FontSelectorToolbar::on_key_press_event (GdkEventKey* key_event)
gdk_keymap_translate_keyboard_state( Gdk::Display::get_default()->get_keymap(),
key_event->hardware_keycode,
(GdkModifierType)key_event->state,
- 0, &key, 0, 0, 0 );
+ 0, &key, nullptr, nullptr, nullptr );
switch ( key ) {