[gnome-software] Properly present the window



commit d76171de209d373254d775c6906f90d6bb1848f4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 31 18:29:58 2013 -0400

    Properly present the window
    
    This doesn't make a big difference, but it is the proper
    way to show a window.

 src/gs-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index ff3ada6..6817610 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -171,7 +171,7 @@ gs_application_startup (GApplication *application)
         window = gs_shell_setup (app->shell, app->plugin_loader, app->cancellable);
         gtk_application_add_window (GTK_APPLICATION (app), window);
 
-        gtk_widget_show (GTK_WIDGET (window));
+        gtk_window_present (window);
 }
 
 static void


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