changing the start (position) of a marker with a scene change needs to update the...
[ardour.git] / gtk2_ardour / splash.cc
index 99adff68e931f7e72016f35843963581e7024929..66412d4881a052440847986dd8f38981ba0ec0d0 100644 (file)
@@ -109,6 +109,7 @@ Splash::pop_back_for (Gtk::Window& win)
 
            So for OS X, we just hide ourselves.
         */
+        (void) win;
         hide();
 #else
        set_keep_above (false);
@@ -223,6 +224,8 @@ Splash::message (const string& msg)
        str += Glib::Markup::escape_text (msg);
        str += "</b>";
 
+        show ();
+
        layout->set_markup (str);
        Glib::RefPtr<Gdk::Window> win = darea.get_window();
        
@@ -234,11 +237,6 @@ Splash::message (const string& msg)
                } else {
                        darea.queue_draw ();
                }
-
-                while (!expose_done) {
-                        gtk_main_iteration ();
-                }
-               gdk_display_flush (gdk_display_get_default());
        }
 }