diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-01-10 23:04:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-01-10 23:04:51 (GMT) |
commit | 6b785b0e6c6048a4a8f1f81f9eaa407e05622368 (patch) | |
tree | dc6dc802b65ec37b3cbc3c65e9d6637654f0981c /src/gui/tb | |
parent | c0528230469b10d606b9d1fa66a18696b2584fed (diff) |
Cleaned editor items by removing a direct link to the main window.
Diffstat (limited to 'src/gui/tb')
-rw-r--r-- | src/gui/tb/tbitem.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/tb/tbitem.c b/src/gui/tb/tbitem.c index 375fee7..22568ec 100644 --- a/src/gui/tb/tbitem.c +++ b/src/gui/tb/tbitem.c @@ -102,11 +102,6 @@ GEditorItem *g_toolbar_item_setup(GToolbarItem *tbitem, GObject *ref, const char result = G_EDITOR_ITEM(tbitem); - /* Initialisation générique */ - - g_object_ref(ref); - result->ref = ref; - result->name = name; /* Intégration dans la barre */ |