[gnome-robots] Update for libgames-support API change
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots] Update for libgames-support API change
- Date: Sun, 14 Feb 2016 03:32:27 +0000 (UTC)
commit 405ca878ffcedf2408fe1f8444430cf5faefe61a
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 8d72937..addacf3 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)
@@ -430,8 +430,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]