Remove unused variable
This commit is contained in:
parent
8a975cb100
commit
14deacc8f3
1 changed files with 1 additions and 2 deletions
|
@ -389,12 +389,11 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
|
||||||
KeySym obt_keyboard_keypress_to_keysym(XEvent *ev)
|
KeySym obt_keyboard_keypress_to_keysym(XEvent *ev)
|
||||||
{
|
{
|
||||||
KeySym sym;
|
KeySym sym;
|
||||||
gint r;
|
|
||||||
|
|
||||||
g_return_val_if_fail(ev->type == KeyPress, None);
|
g_return_val_if_fail(ev->type == KeyPress, None);
|
||||||
|
|
||||||
sym = None;
|
sym = None;
|
||||||
r = XLookupString(&ev->xkey, NULL, 0, &sym, NULL);
|
XLookupString(&ev->xkey, NULL, 0, &sym, NULL);
|
||||||
return sym;
|
return sym;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue