summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-11 08:40:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-11 08:40:45 (GMT)
commit45c220eb6c7cb1076788307ace4b6f3df2e5e941 (patch)
treeb018cf25fc23190ec430afec0a612d29cb142757 /src/main.c
parentd19bfec27f4ed528c5ca569dcbb6621185db0c48 (diff)
Created a new widget to handle tiled panels.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index ee805df..05e2b15 100644
--- a/src/main.c
+++ b/src/main.c
@@ -278,12 +278,12 @@ int main(int argc, char **argv)
if (!batch_mode)
{
- status = load_all_gui_components();
- if (!status) goto failed_to_load_editor;
-
editor = create_editor();
if (editor == NULL) goto failed_to_load_editor;
+ status = load_all_gui_components();
+ if (!status) goto failed_to_load_editor;
+
gtk_widget_show_now(editor);
}