mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-24 22:28:29 +00:00
Remove unused code
This commit is contained in:
parent
3471887817
commit
af971af4ca
1 changed files with 0 additions and 9 deletions
|
|
@ -305,14 +305,6 @@ set_should_close(WindowWrapper *self, PyObject *args) {
|
|||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
set_input_mode(WindowWrapper *self, PyObject *args) {
|
||||
int which, value;
|
||||
if (!PyArg_ParseTuple(args, "ii", &which, &value)) return NULL;
|
||||
glfwSetInputMode(self->window, which, value);
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
is_key_pressed(WindowWrapper *self, PyObject *args) {
|
||||
int c;
|
||||
|
|
@ -428,7 +420,6 @@ static PyMethodDef methods[] = {
|
|||
MND(cocoa_window_id, METH_NOARGS),
|
||||
#endif
|
||||
MND(set_should_close, METH_VARARGS),
|
||||
MND(set_input_mode, METH_VARARGS),
|
||||
MND(is_key_pressed, METH_VARARGS),
|
||||
MND(set_clipboard_string, METH_VARARGS),
|
||||
MND(make_context_current, METH_NOARGS),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue