diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2011-11-05 11:09:45 +0000 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2011-11-07 14:25:38 +0000 |
commit | 950b2597003c6e6adc2ca1dfe1cc042c30489456 (patch) | |
tree | 1e5adba90e8d139c7d3d55a838a292b36226d238 /src/sj-main.c | |
parent | e0ae0e68089ccca4f651302d19734823748884a6 (diff) |
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.
Diffstat (limited to 'src/sj-main.c')
-rw-r--r-- | 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); |