diff options
Diffstat (limited to 'plugins/pychrysa/gui/editem.c')
-rw-r--r-- | plugins/pychrysa/gui/editem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pychrysa/gui/editem.c b/plugins/pychrysa/gui/editem.c index 3b7a8b8..c7e4724 100644 --- a/plugins/pychrysa/gui/editem.c +++ b/plugins/pychrysa/gui/editem.c @@ -97,7 +97,7 @@ static void _update_editor_item_for_binary_python_wrapper(GEditorItem *item, GLo target = pychrysalide_get_pygobject(G_OBJECT(item)); args = PyTuple_New(1); - PyTuple_SetItem(args, 0, py_loaded_binary_from_c(binary)); + PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(binary))); value = run_python_method(target, "update_for_binary", args); @@ -139,7 +139,7 @@ static void _update_editor_item_for_view_python_wrapper(GEditorItem *item, GtkVi target = pychrysalide_get_pygobject(G_OBJECT(item)); args = PyTuple_New(1); - PyTuple_SetItem(args, 0, py_view_panel_from_c(view)); + PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(view))); value = run_python_method(target, "update_for_view", args); @@ -181,7 +181,7 @@ static void _update_editor_item_for_view_content_python_wrapper(GEditorItem *ite target = pychrysalide_get_pygobject(G_OBJECT(item)); args = PyTuple_New(1); - PyTuple_SetItem(args, 0, py_view_panel_from_c(view)); + PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(view))); value = run_python_method(target, "update_for_content", args); @@ -280,7 +280,7 @@ static PyObject *py_editor_item_get_current_binary(PyObject *self, PyObject *arg result = Py_None; } else - result = py_loaded_binary_from_c(binary); + result = pygobject_new(G_OBJECT(binary)); return result; @@ -315,7 +315,7 @@ static PyObject *py_editor_item_get_current_view(PyObject *self, PyObject *args) result = Py_None; } else - result = py_view_panel_from_c(panel); + result = pygobject_new(G_OBJECT(panel)); return result; |