summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/gui/panels
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/gui/panels')
-rw-r--r--plugins/pychrysa/gui/panels/panel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/pychrysa/gui/panels/panel.c b/plugins/pychrysa/gui/panels/panel.c
index 26637e0..9ca271f 100644
--- a/plugins/pychrysa/gui/panels/panel.c
+++ b/plugins/pychrysa/gui/panels/panel.c
@@ -36,6 +36,7 @@
#include "../editem.h"
#include "../../helpers.h"
#include "../../quirks.h"
+#include "../../gtkext/dockable.h"
@@ -232,7 +233,8 @@ bool register_python_panel_item(PyObject *module)
dict = PyModule_GetDict(module);
- if (!register_class_for_pygobject(dict, G_TYPE_PANEL_ITEM, py_panel_item_type, get_python_editor_item_type()))
+ if (!_register_class_for_pygobject(dict, G_TYPE_PANEL_ITEM, py_panel_item_type,
+ get_python_editor_item_type(), get_python_gtk_dockable_type(), NULL))
return false;
if (!py_panel_item_define_constants(py_panel_item_type))