[gnome-robots/wip/libgames-support] Update for libgames-support API	change
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-robots/wip/libgames-support] Update for libgames-support API	change
- Date: Sat, 19 Sep 2015 23:29:00 +0000 (UTC)
commit bf8ba58e83260329d899972c3f55cefe2029983d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Sep 19 18:28:38 2015 -0500
    Update for libgames-support API change
 src/gnome-robots.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index c257910..0f0ee94 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -330,8 +330,8 @@ shutdown (GtkApplication *app, gpointer user_data)
   g_settings_set_boolean (settings, "window-is-maximized", window_is_maximized);
 }
 
-static GamesScoresCategory
-*create_category_from_key (GamesScoresContext *context, const char *key, gpointer user_data)
+static GamesScoresCategory *
+create_category_from_key (const char *key, gpointer user_data)
 {
   const gchar *name = category_name_from_key (key);
   if (name == NULL)
@@ -428,8 +428,9 @@ activate (GtkApplication *app, gpointer user_data)
                                          /* Label on the scores dialog, next to map type dropdown */
                                          _("Game Type:"),
                                          GTK_WINDOW (window),
+                                         create_category_from_key,
+                                         NULL,
                                          GAMES_SCORES_STYLE_PLAIN_DESCENDING);
-  g_signal_connect (highscores, "category-request", G_CALLBACK (create_category_from_key), NULL);
   gtk_widget_show_all (window);
 
   if (!load_game_configs ()) {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]