diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-30 10:38:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-30 10:38:52 (GMT) |
commit | 932ea7c83c07d3982fee605c6dd9895fd2753874 (patch) | |
tree | 766ad53bab9e3e3005334c30e823493de8e84168 /src/gui/editor.c | |
parent | 1b5d39bfbc48c33a0ea0924b60e48448c8b45dd4 (diff) |
Rewritten the line buffers using generators and on-demand building to save memory.
Diffstat (limited to 'src/gui/editor.c')
-rw-r--r-- | src/gui/editor.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c index f8922a1..7322ed7 100644 --- a/src/gui/editor.c +++ b/src/gui/editor.c @@ -41,7 +41,6 @@ #include "panels/panel.h" #include "panels/welcome.h" #include "tb/portions.h" -#include "tb/source.h" #include "../analysis/project.h" #include "../common/extstr.h" #include "../core/params.h" @@ -481,9 +480,6 @@ static GtkWidget *build_editor_toolbar(GObject *ref) g_object_set_data(ref, "toolbar", result); - item = create_source_tb_item(ref); - register_editor_item(item); - item = create_portions_tb_item(ref); register_editor_item(item); @@ -1097,7 +1093,7 @@ void on_panel_item_dock_request(GPanelItem *panel, void *unused) if (!g_welcome_panel_get_user_origin(G_WELCOME_PANEL(welcome))) { /* Equivalent d'un appel "g_panel_item_undock(welcome)", avec effet immédiat */ - on_panel_item_undock_request(welcome, NULL); + /////on_panel_item_undock_request(welcome, NULL); } } |