summaryrefslogtreecommitdiffstats
path: root/ext/gconf
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-09-12 09:13:39 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-09-12 09:13:39 +0000
commit5ff86cd79244bdacbf856a076e9719b0e6ffc13d (patch)
treeb253f27174461b7b198c180832639257ba063479 /ext/gconf
parenteb2aee1b34f78b0adb21103408370dbcbfcc646b (diff)
ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug.
Original commit message from CVS: * ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug. * sys/oss/gstossmixertrack.c: Use const like in alsamixertrack.c (fixes warnings).
Diffstat (limited to 'ext/gconf')
-rw-r--r--ext/gconf/gstgconfaudiosink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/gconf/gstgconfaudiosink.c b/ext/gconf/gstgconfaudiosink.c
index 0737af67..a8bf3305 100644
--- a/ext/gconf/gstgconfaudiosink.c
+++ b/ext/gconf/gstgconfaudiosink.c
@@ -206,10 +206,8 @@ gst_gconf_switch_profile (GstGConfAudioSink * sink, GstGConfProfile profile)
return;
if (sink->connection) {
- const gchar *key = gst_gconf_get_key_for_sink_profile (sink->profile);
-
GST_DEBUG_OBJECT (sink, "Unsubscribing old key %s for profile %d",
- key, sink->profile);
+ gst_gconf_get_key_for_sink_profile (sink->profile), sink->profile);
gconf_client_notify_remove (sink->client, sink->connection);
sink->connection = 0;
}