]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Small cleanup
[evince.git] / shell / ev-window.c
index a9e03e6ebd1382aaf9cc75828edcf9ae85c1438c..ef6f0b16ac85271cb1e5207cc7d2508e5d60e4fa 100644 (file)
@@ -4055,11 +4055,10 @@ ev_window_run_presentation (EvWindow *window)
 
        if ( get_num_monitors(GTK_WINDOW(window)) > 1) {
                EvDSCWindow *control = ev_dscwindow_get_control();
-
+               gtk_window_present (GTK_WINDOW (control));
                ev_dscwindow_set_presentation   (control, window,
                                         window->priv->document,
                                         EV_VIEW_PRESENTATION(window->priv->presentation_view));
-               gtk_window_present (GTK_WINDOW (control));
        }
 }