From: Dana Jansens Date: Wed, 8 Jan 2003 22:41:24 +0000 (+0000) Subject: wrapper updates X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4e6e0b8d9bab442156c5f74bafbea7a63c60a6b6;p=chaz%2Fopenbox wrapper updates --- diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index 0686a696..a1d3f58a 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -2480,42 +2480,6 @@ static PyObject *_wrap_OBClient_resize(PyObject *self, PyObject *args) { } -static PyObject *_wrap_OBClient_close(PyObject *self, PyObject *args) { - PyObject *resultobj; - ob::OBClient *arg1 = (ob::OBClient *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:OBClient_close",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->close(); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_OBClient_shade(PyObject *self, PyObject *args) { - PyObject *resultobj; - ob::OBClient *arg1 = (ob::OBClient *) 0 ; - bool arg2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_shade",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - arg2 = (bool) PyInt_AsLong(obj1); - if (PyErr_Occurred()) SWIG_fail; - (arg1)->shade(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) { PyObject *resultobj; ob::OBClient *arg1 = (ob::OBClient *) 0 ; @@ -2947,8 +2911,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"OBClient_strut", _wrap_OBClient_strut, METH_VARARGS }, { (char *)"OBClient_move", _wrap_OBClient_move, METH_VARARGS }, { (char *)"OBClient_resize", _wrap_OBClient_resize, METH_VARARGS }, - { (char *)"OBClient_close", _wrap_OBClient_close, METH_VARARGS }, - { (char *)"OBClient_shade", _wrap_OBClient_shade, METH_VARARGS }, { (char *)"OBClient_focus", _wrap_OBClient_focus, METH_VARARGS }, { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus, METH_VARARGS }, { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler, METH_VARARGS },