diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-18 22:24:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-18 22:24:55 (GMT) |
commit | 7c1f85b8197cb02634d06d200f68ce65e9eca717 (patch) | |
tree | a70ed11f36e39b9643ad2977935b10f62cd57852 /plugins/pychrysalide/gui/panels | |
parent | ea090774bf3b5849422de9af8c294b3e9d00105b (diff) |
Removed useless casts in the Python bindings code.
Diffstat (limited to 'plugins/pychrysalide/gui/panels')
-rw-r--r-- | plugins/pychrysalide/gui/panels/panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/gui/panels/panel.c b/plugins/pychrysalide/gui/panels/panel.c index 6613fac..1721780 100644 --- a/plugins/pychrysalide/gui/panels/panel.c +++ b/plugins/pychrysalide/gui/panels/panel.c @@ -148,7 +148,7 @@ PyTypeObject *get_python_panel_item_type(void) { static PyMethodDef py_panel_item_methods[] = { { - "dock", (PyCFunction)py_panel_item_dock, + "dock", py_panel_item_dock, METH_NOARGS, "dock($self, /)\n--\n\nDisplay the panel item in the right place." }, |