summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/gui/editem.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/gui/editem.c')
-rw-r--r--plugins/pychrysa/gui/editem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysa/gui/editem.c b/plugins/pychrysa/gui/editem.c
index 6db03ce..e2289b0 100644
--- a/plugins/pychrysa/gui/editem.c
+++ b/plugins/pychrysa/gui/editem.c
@@ -94,7 +94,7 @@ static void _update_editor_item_for_binary_python_wrapper(GEditorItem *item, GLo
* par la procédure de pygobject, qui obligerait à connaître le type précis
* de l'instance GLib manipulée.
*/
- target = pychrysalide_get_pygobject(G_OBJECT(item));
+ target = pygobject_new(G_OBJECT(item));
args = PyTuple_New(1);
PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(binary)));
@@ -136,7 +136,7 @@ static void _update_editor_item_for_view_python_wrapper(GEditorItem *item, GtkVi
* par la procédure de pygobject, qui obligerait à connaître le type précis
* de l'instance GLib manipulée.
*/
- target = pychrysalide_get_pygobject(G_OBJECT(item));
+ target = pygobject_new(G_OBJECT(item));
args = PyTuple_New(1);
PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(view)));
@@ -178,7 +178,7 @@ static void _update_editor_item_for_view_content_python_wrapper(GEditorItem *ite
* par la procédure de pygobject, qui obligerait à connaître le type précis
* de l'instance GLib manipulée.
*/
- target = pychrysalide_get_pygobject(G_OBJECT(item));
+ target = pygobject_new(G_OBJECT(item));
args = PyTuple_New(1);
PyTuple_SetItem(args, 0, pygobject_new(G_OBJECT(view)));