[gnome-robots/libgames-scores: 8/14] Signals for libgames-scores. 3rd draft.



commit 231c95d3a30d1e1964b164b24ec3190fa634c64a
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 86fb206..0dddaee 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -311,7 +311,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";
@@ -415,7 +415,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]