core: Unbreak compilation with valac-0.12
authorJens Georg <mail@jensge.org>
Wed, 26 Oct 2011 12:57:06 +0000 (14:57 +0200)
committerJens Georg <mail@jensge.org>
Wed, 26 Oct 2011 12:57:06 +0000 (14:57 +0200)
src/rygel/rygel-transcoder.vala

index e7a92c9..ea28322 100644 (file)
@@ -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,