[rhythmbox] daap: create dacp settings instance correctly
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] daap: create dacp settings instance correctly
- Date: Wed, 13 Apr 2011 22:40:11 +0000 (UTC)
commit 041fe2e34ed4c26229b3f7a97e8d600f7ee8eb0b
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Apr 14 08:39:57 2011 +1000
daap: create dacp settings instance correctly
plugins/daap/rb-dacp-pairing-page.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/daap/rb-dacp-pairing-page.c b/plugins/daap/rb-dacp-pairing-page.c
index 0dc9150..77fa41d 100644
--- a/plugins/daap/rb-dacp-pairing-page.c
+++ b/plugins/daap/rb-dacp-pairing-page.c
@@ -439,6 +439,7 @@ rb_daap_create_dacp_share (RBPlugin *plugin)
RBPlaylistManager *playlist_manager;
RBShell *shell;
GSettings *share_settings;
+ GSettings *daap_settings;
GSettings *settings;
gchar *name;
@@ -463,7 +464,10 @@ rb_daap_create_dacp_share (RBPlugin *plugin)
share = dacp_share_new (name, player, db, container_db);
- settings = g_settings_new ("org.gnome.rhythmbox.plugins.daap.dacp");
+ daap_settings = g_settings_new ("org.gnome.rhythmbox.plugins.daap");
+ settings = g_settings_get_child (daap_settings, "dacp");
+ g_object_unref (daap_settings);
+
g_signal_connect_object (share,
"add-guid",
G_CALLBACK (dacp_add_guid),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]