[evince] Use gtk_window_present() when opening a copy instad of gtk_widget_show()



commit 45d029cd41717bce71de267f862c197e134f26ab
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri Oct 23 14:23:23 2009 +0200

    Use gtk_window_present() when opening a copy instad of gtk_widget_show()

 shell/ev-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f6000bb..c55c9f8 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2143,7 +2143,7 @@ ev_window_open_copy_at_dest (EvWindow   *window,
 	ev_window_open_document (new_window,
 				 window->priv->document,
 				 dest, 0, NULL);
-	gtk_widget_show (GTK_WIDGET (new_window));
+	gtk_window_present (GTK_WINDOW (new_window));
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]