Updating branch refs/heads/master
         to 5f742e77d8bc25a42ec41ca6b35f9d8f9e36fc26 (commit)
       from 6006cde3628f09dcedb9f58a8e87715bcffaf0d9 (commit)

commit 5f742e77d8bc25a42ec41ca6b35f9d8f9e36fc26
Author: Nick Schermer <n...@xfce.org>
Date:   Thu Jan 28 19:33:12 2010 +0100

    Use correct function to center a window on the screen.

 settings/splash-settings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/settings/splash-settings.c b/settings/splash-settings.c
index ef72db3..b874aa6 100644
--- a/settings/splash-settings.c
+++ b/settings/splash-settings.c
@@ -306,7 +306,7 @@ splash_selection_changed (GtkTreeSelection *selection)
   /* centering must be delayed! */
   if (!splash_centered)
     {
-      gtk_window_set_position(GTK_WINDOW(splash_dialog), GTK_WIN_POS_CENTER);
+      xfce_gtk_window_center_on_active_screen(GTK_WINDOW(splash_dialog));
       splash_centered = TRUE;
     }
 }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to