Commit ac5571fd authored by Manish Singh's avatar Manish Singh

colormaps should be inited before we do gtk stuff

-Yosh
parent 15697fb3
......@@ -311,7 +311,10 @@ my_idle_proc(void)
static void
make_initialization_status_window(void)
{
if (no_interface == FALSE && no_splash == FALSE)
if (no_interface == FALSE)
{
get_standard_colormaps ();
if (no_splash == FALSE)
{
GtkWidget *vbox;
......@@ -364,6 +367,7 @@ make_initialization_status_window(void)
gtk_window_set_policy (GTK_WINDOW (win_initstatus), FALSE, TRUE, FALSE);
}
}
}
void
......@@ -440,7 +444,6 @@ app_init ()
/* Now we are ready to draw the splash-screen-image to the start-up window */
if (no_interface == FALSE)
{
get_standard_colormaps ();
if (no_splash_image == FALSE && show_logo && splash_logo_load (win_initstatus)) {
show_logo = SHOW_NOW;
splash_logo_draw (logo_area);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment