fixed const cast warning
This commit is contained in:
parent
ffbe9a949e
commit
1b73ab2065
@ -328,7 +328,7 @@ emulate_key_event (Gtk::Widget* w, unsigned int keyval)
|
||||
ev.state = 0;
|
||||
ev.keyval = keyval;
|
||||
ev.length = 0;
|
||||
ev.string = (gchar*) "";
|
||||
ev.string = const_cast<gchar*> ("");
|
||||
ev.hardware_keycode = keymapkey[0].keycode;
|
||||
ev.group = keymapkey[0].group;
|
||||
g_free(keymapkey);
|
||||
|
Loading…
Reference in New Issue
Block a user