Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r--shell/ev-application.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index ea66f65..d9b5ab0 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -119,8 +119,13 @@ ev_application_open_window (EvApplication *application,
GtkWidget *new_window = ev_window_new ();
gtk_widget_show (new_window);
+
+#ifdef HAVE_GTK_WINDOW_PRESENT_WITH_TIME
gtk_window_present_with_time (GTK_WINDOW (new_window),
timestamp);
+#else
+ gtk_window_present (GTK_WINDOW (new_window));
+#endif
return TRUE;
}