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:
authorJonathan Blandford <jrb@redhat.com>2005-08-26 04:25:42 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-08-26 04:25:42 (GMT)
commit08f59cdd977b86d17d0a9c70a56b2bfd7f6741a2 (patch)
tree83c5b6692bfb4ec0948514095aadb28afb102ee4 /shell/ev-application.c
parent2eecd9167f17b9b0506675a9dc05dff487779afa (diff)
catch another gtk+-2.8ism Make work with gtk+-2.6 Release 0.4.0
Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: catch another gtk+-2.8ism * shell/main.c: Make work with gtk+-2.6 * NEWS: Release 0.4.0
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;
}