]> Dogcows Code - chaz/openbox/blobdiff - src/openbox_wrap.cc
make close() and shade() private.
[chaz/openbox] / src / openbox_wrap.cc
index dfa50d662089694c549ab23a7eba7b33938b01af..0686a696885e8cc7fc7e6807f738526120e89303 100644 (file)
@@ -2524,7 +2524,7 @@ static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
     
     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (bool)(arg1)->focus();
+    result = (bool)((ob::OBClient const *)arg1)->focus();
     
     resultobj = PyInt_FromLong((long)result);
     return resultobj;
@@ -2540,7 +2540,7 @@ static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
     
     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    (arg1)->unfocus();
+    ((ob::OBClient const *)arg1)->unfocus();
     
     Py_INCREF(Py_None); resultobj = Py_None;
     return resultobj;
This page took 0.021393 seconds and 4 git commands to generate.