[rygel] renderer: Style fix
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] renderer: Style fix
- Date: Thu, 7 May 2015 19:05:22 +0000 (UTC)
commit 79b401776c9399339a9100ce46ecf26c55d84fdb
Author: Jens Georg <mail jensge org>
Date: Thu May 7 21:02:56 2015 +0200
renderer: Style fix
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-renderer/rygel-changelog.vala | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-changelog.vala b/src/librygel-renderer/rygel-changelog.vala
index 4b38552..1af5ac9 100644
--- a/src/librygel-renderer/rygel-changelog.vala
+++ b/src/librygel-renderer/rygel-changelog.vala
@@ -77,8 +77,9 @@ internal class Rygel.ChangeLog : Object {
public void log (string variable, string value) {
debug (@"'%s = %s' logged", variable, value);
- this.hash.set (variable, "<%s val=\"%s\"/>".printf (variable,
- Markup.escape_text(value)));
+ this.hash.set (variable,
+ "<%s val=\"%s\"/>".printf (variable,
+ Markup.escape_text (value)));
this.ensure_timeout ();
}
@@ -86,10 +87,11 @@ internal class Rygel.ChangeLog : Object {
public void log_with_channel (string variable,
string value,
string channel) {
- this.hash.set (variable,
- "<%s val=\"%s\" channel=\"%s\"/>".printf (variable,
- Markup.escape_text(value),
- Markup.escape_text(channel)));
+ var text = "<%s val=\"%s\" channel=\"%s\"/>".printf
+ (variable,
+ Markup.escape_text(value),
+ Markup.escape_text(channel));
+ this.hash.set (variable, text);
this.ensure_timeout ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]