[gnome-robots/wip/libgames-support: 24/41] Signals for libgames-scores. 3rd draft.



commit 83baddf619e934cdcc4ab0758c36a7f95f991e90
Author: Nikhar Agrawal <nikharagrawal2006 gmail com>
Date:   Sat Aug 16 00:49:14 2014 +0530

    Signals for libgames-scores. 3rd draft.
    
    Doesn't work.

 src/gnome-robots.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 0fc253a..33dedcc 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -306,7 +306,7 @@ shutdown (GtkApplication *app, gpointer user_data)
   g_settings_set_boolean (settings, "window-is-maximized", window_is_maximized);
 }
 
-GamesScoresCategory *create_category_from_key (GamesScoresContext context, const char *key, gpointer 
user_data)
+GamesScoresCategory *create_category_from_key (GamesScoresContext *context, const char *key, gpointer 
user_data)
 {
   cat.key = key;
   cat.name = "whoa";
@@ -405,7 +405,7 @@ activate (GtkApplication *app, gpointer user_data)
                                          _("Game Type"),
                                          window,
                                          GAMES_SCORES_STYLE_PLAIN_DESCENDING);
-  g_signal_connect (GTK_WINDOW (highscores), "request-category", G_CALLBACK (create_category_from_key), 
NULL);
+  g_signal_connect (highscores, "request-category", 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]