summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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);
}