[rygel] core: Unbreak compilation with valac-0.12
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Unbreak compilation with valac-0.12
- Date: Wed, 26 Oct 2011 12:57:26 +0000 (UTC)
commit c5821c92f44e85c81a495c5f790c5f7c6aa43850
Author: Jens Georg <mail jensge org>
Date: Wed Oct 26 14:57:06 2011 +0200
core: Unbreak compilation with valac-0.12
src/rygel/rygel-transcoder.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]