From: Jens Georg Date: Wed, 26 Oct 2011 12:57:06 +0000 (+0200) Subject: core: Unbreak compilation with valac-0.12 X-Git-Tag: RYGEL_0_13_0~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5821c92f44e85c81a495c5f790c5f7c6aa43850;p=profile%2Fivi%2Frygel.git core: Unbreak compilation with valac-0.12 --- diff --git a/src/rygel/rygel-transcoder.vala b/src/rygel/rygel-transcoder.vala index e7a92c9..ea28322 100644 --- a/src/rygel/rygel-transcoder.vala +++ b/src/rygel/rygel-transcoder.vala @@ -193,13 +193,14 @@ internal abstract class Rygel.Transcoder : GLib.Object { return; } + private const string description = "Encoder and decoder are not " + + "compatible"; + private void on_no_more_pads (Element decodebin) { // We haven't found any pads we could link if (this.link_failed) { // Signalize that error var bin = this.encoder.get_parent () as Bin; - const string description = "Encoder and decoder are not " + - "compatible"; var error = new IOError.FAILED ("Could not link"); var message = new Message.error (bin, error,