diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 09:47:29 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 10:07:59 (GMT) |
commit | acd37cbf8578686d2e5bae64b6b4eb6d2bc5376b (patch) | |
tree | c3ec34400c422ccd3e0f122ae6c0ec7ea67e37de /plugins/pychrysa/gtkext | |
parent | 8ca477e012b11a19363542d171b8e973d637641c (diff) |
Deleted the reference to the main window in all panels.
Diffstat (limited to 'plugins/pychrysa/gtkext')
-rw-r--r-- | plugins/pychrysa/gtkext/displaypanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/gtkext/displaypanel.c b/plugins/pychrysa/gtkext/displaypanel.c index aa166e5..b75d173 100644 --- a/plugins/pychrysa/gtkext/displaypanel.c +++ b/plugins/pychrysa/gtkext/displaypanel.c @@ -78,7 +78,7 @@ static PyObject *py_display_panel_new(PyTypeObject *type, PyObject *args, PyObje ret = PyArg_ParseTuple(args, "ssOs", &name, &lname, &widget, &path); if (!ret) Py_RETURN_NONE; - item = g_view_panel_new(get_internal_ref(), name, lname, + item = g_view_panel_new(name, lname, GTK_WIDGET(pygobject_get(widget)), path); result = py_display_panel_from_c(G_DISPLAY_PANEL(item)); |