13
0

fixed const cast warning

This commit is contained in:
Paul Davis 2013-06-21 17:15:12 -04:00
parent ffbe9a949e
commit 1b73ab2065

View File

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