gsettings: fix some more warnings

This commit is contained in:
Alessandro Decina 2010-07-05 09:32:30 +02:00
parent c71e8a9341
commit 01dae19624
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ gst_gsettings_audio_src_change_child (GstGSettingsAudioSrc * src)
if (new_string) {
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
if (err) {
GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string,
GST_ERROR_OBJECT (src, "error creating bin '%s': %s", new_string,
err->message);
g_error_free (err);
}

View file

@ -71,7 +71,7 @@ gst_gsettings_video_sink_change_child (GstGSettingsVideoSink * sink)
if (new_string) {
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
if (err) {
GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string,
GST_ERROR_OBJECT (sink, "error creating bin '%s': %s", new_string,
err->message);
g_error_free (err);
}

View file

@ -71,7 +71,7 @@ gst_gsettings_video_src_change_child (GstGSettingsVideoSrc * src)
if (new_string) {
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
if (err) {
GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string,
GST_ERROR_OBJECT (src, "error creating bin '%s': %s", new_string,
err->message);
g_error_free (err);
}