fixed: python window methods add-/removeControls defined but not used
authorvdrfan <vdrfan-nospam-@xbmc.org>
Mon, 26 Mar 2012 06:37:11 +0000 (08:37 +0200)
committervdrfan <vdrfan-nospam-@xbmc.org>
Mon, 26 Mar 2012 06:37:11 +0000 (08:37 +0200)
xbmc/interfaces/python/xbmcmodule/window.cpp

index 2e3b9bf..9788686 100644 (file)
@@ -1125,8 +1125,10 @@ namespace PYXBMC
     {(char*)"show", (PyCFunction)Window_Show, METH_VARARGS, show__doc__},
     {(char*)"close", (PyCFunction)Window_Close, METH_VARARGS, close__doc__},
     {(char*)"addControl", (PyCFunction)Window_AddControl, METH_VARARGS, addControl__doc__},
+    {(char*)"addControls", (PyCFunction)Window_AddControls, METH_VARARGS, addControls__doc__},
     {(char*)"getControl", (PyCFunction)Window_GetControl, METH_VARARGS, getControl__doc__},
     {(char*)"removeControl", (PyCFunction)Window_RemoveControl, METH_VARARGS, removeControl__doc__},
+    {(char*)"removeControls", (PyCFunction)Window_RemoveControls, METH_VARARGS, removeControls__doc__},
     {(char*)"setFocus", (PyCFunction)Window_SetFocus, METH_VARARGS, setFocus__doc__},
     {(char*)"setFocusId", (PyCFunction)Window_SetFocusId, METH_VARARGS, setFocusId__doc__},
     {(char*)"getFocus", (PyCFunction)Window_GetFocus, METH_VARARGS, getFocus__doc__},