From 86b57176b8da24a5202cc44e63af727621546151 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 26 May 2013 15:44:23 +0200 Subject: [PATCH] Temporarily disable the splash screen --- src/ui/gui/main.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index eb44e813b6..ddc2a5b5fb 100644 --- a/src/ui/gui/main.c +++ b/src/ui/gui/main.c @@ -199,12 +199,14 @@ print_startup_time (gpointer data) return FALSE; } +/* static gboolean quit_one_loop (gpointer data) { gtk_main_quit (); return FALSE; } +*/ struct initialisation_parameters { @@ -329,13 +331,14 @@ main (int argc, char *argv[]) init_p.splash_window = create_splash_window (); init_p.data_file = optind < argc ? argv[optind] : NULL; - if ( show_splash ) - gtk_widget_show (init_p.splash_window); + // if ( show_splash ) + // gtk_widget_show (init_p.splash_window); - g_idle_add (quit_one_loop, 0); + // g_idle_add (quit_one_loop, 0); - gtk_quit_add (0, run_inner_loop, &init_p); - gtk_main (); + // gtk_quit_add (0, run_inner_loop, &init_p); + run_inner_loop (&init_p); + // gtk_main (); return 0; } -- 2.30.2