[rhythmbox/mallard-help] audioscrobbler: get the accel group from the right place



commit f710bb3fdab71edb1d4918f62835ac6884d8a4d2
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Feb 27 06:55:08 2013 +1000

    audioscrobbler: get the accel group from the right place

 .../rb-audioscrobbler-profile-page.c               |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-profile-page.c 
b/plugins/audioscrobbler/rb-audioscrobbler-profile-page.c
index c3a112f..f00b9ea 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-profile-page.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-profile-page.c
@@ -640,7 +640,8 @@ init_actions (RBAudioscrobblerProfilePage *page)
                { "audioscrobbler-%s-download-track", download_track_action_cb },
        };
 
-       g_object_get (page, "shell", &shell, "plugin", &plugin, "accel-group", &accel_group, NULL);
+       g_object_get (page, "shell", &shell, "plugin", &plugin, NULL);
+       g_object_get (shell, "accel-group", &accel_group, NULL);
 
        map = G_ACTION_MAP (g_application_get_default ());
        _rb_add_display_page_actions (map,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]