Revert back to single splash screen. Splash screen file is now detected automatically...
[synfig.git] / synfig-studio / src / gui / splash.cpp
index d952fd1..d02e202 100644 (file)
@@ -178,6 +178,7 @@ Splash::Splash():
 
        // Create the splash image
        Gtk::Image* splash_image = manage(new class Gtk::Image());
+       /* Dual-splash code:
        srand(time(NULL));
        const float ran = rand()/float(RAND_MAX);
        int number = 1;
@@ -185,6 +186,8 @@ Splash::Splash():
                number = 2;
        //synfig::info("%s", strprintf("%d",number).c_str());
        splash_image->set(imagepath+"splash_screen"+strprintf("%d",number)+"."IMAGE_EXT);
+       */
+       splash_image->set(imagepath+"splash_screen."IMAGE_EXT);
        splash_image->set_alignment(0.5,0.5);
        splash_image->set_padding(0,0);