[sound-juicer] Fix error introduced in commit 52131dd1989
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Fix error introduced in commit 52131dd1989
- Date: Mon, 7 Nov 2011 14:26:23 +0000 (UTC)
commit 950b2597003c6e6adc2ca1dfe1cc042c30489456
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Sat Nov 5 11:09:45 2011 +0000
Fix error introduced in commit 52131dd1989
The commit "Don't leak several GConfEntry during UI creation" uses
GCONF_AUDIO_PROFILE where it should use GCONF_AUDIO_PROFILE_MEDIA_TYPE
now that me have switched to GStreamer profiles for encoding. This
causes
src/sj-main.c:1144: g_assert (strcmp (entry->key,
GCONF_AUDIO_PROFILE_MEDIA_TYPE) == 0);
to abort on startup.
src/sj-main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index 7b5af43..1867e50 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -1855,7 +1855,7 @@ int main (int argc, char **argv)
file_pattern_changed_cb (gconf_client, -1, entry, NULL);
gconf_entry_unref (entry);
- entry = gconf_client_get_entry (gconf_client, GCONF_AUDIO_PROFILE, NULL, TRUE, NULL);
+ entry = gconf_client_get_entry (gconf_client, GCONF_AUDIO_PROFILE_MEDIA_TYPE, NULL, TRUE, NULL);
profile_changed_cb (gconf_client, -1, entry, NULL);
gconf_entry_unref (entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]