[gnome-robots/wip/libgames-support: 20/41] Moved context_new to activate.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/wip/libgames-support: 20/41] Moved context_new to activate.
- Date: Sun, 20 Sep 2015 22:38:41 +0000 (UTC)
commit 680bd443e2b560b5e9e05ed36d42f28344d1d1cc
Author: Nikhar Agrawal <nikharagrawal2006 gmail com>
Date: Wed Aug 13 22:56:29 2014 +0530
Moved context_new to activate.
src/gnome-robots.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 0a3c44e..e4cd9ca 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -292,9 +292,6 @@ startup (GtkApplication *app, gpointer user_data)
g_set_application_name (_("Robots"));
- highscores = games_scores_context_new ("gnome-robots", "Games Type",/* window,*/
- GAMES_SCORES_STYLE_PLAIN_DESCENDING);
-
settings = g_settings_new ("org.gnome.robots");
gtk_window_set_default_icon_name ("gnome-robots");
@@ -406,6 +403,9 @@ activate (GtkApplication *app, gpointer user_data)
_
("The program Robots was unable to find any valid game
configuration files. Please check that the program is installed correctly."));
gtk_window_set_resizable (GTK_WINDOW (errordialog), FALSE);
+
+ highscores = games_scores_context_new ("gnome-robots", "Games Type", window,
+ GAMES_SCORES_STYLE_PLAIN_DESCENDING);
gtk_dialog_run (GTK_DIALOG (errordialog));
exit (1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]