summaryrefslogtreecommitdiff
path: root/src/gui/editor.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-01-09 22:54:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-01-09 23:11:29 (GMT)
commitc0528230469b10d606b9d1fa66a18696b2584fed (patch)
treea9ce71e300eba736cd31f3f45b1752618a39c04d /src/gui/editor.c
parent43f249445c9c69b9eabeea8be08b6b55a474f1fc (diff)
Updated the Python documentation for GUI items.
Diffstat (limited to 'src/gui/editor.c')
-rw-r--r--src/gui/editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c
index 60e4095..6a270fb 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -262,6 +262,7 @@ GtkWidget *create_editor(void)
menuboard = g_editor_item_get_widget(editem);
gtk_box_pack_start(GTK_BOX(vbox1), menuboard, FALSE, FALSE, 0);
+ g_object_unref(G_OBJECT(menuboard));
g_object_set_data(ref, "menubar", editem);
g_object_set_data(ref, "menuboard", menuboard);
@@ -291,6 +292,7 @@ GtkWidget *create_editor(void)
widget = g_editor_item_get_widget(editem);
gtk_box_pack_start(GTK_BOX(vbox1), widget, FALSE, FALSE, 0);
+ g_object_unref(G_OBJECT(widget));
/* Autre */