Package: telegnome
Version: 0.3.2-1
Severity: important
Tags; buster

telegnome fails to build with vala 0.36 which is now in Ubuntu 17.10
"Artful" and will be in Debian unstable once it clears the Debian new
queue. vala 0.36 is part of GNOME 3.24.

I'm attaching a patch against the GNOME git tree.

Thanks,
Jeremy Bicha
From c279b9e4f77add12b178c8b6cd8073227fa0b241 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbi...@ubuntu.com>
Date: Sat, 17 Jun 2017 23:33:07 -0400
Subject: [PATCH] Fix build with vala 0.36

---
 src/prefs.vala | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/prefs.vala b/src/prefs.vala
index 2605efe..49b4ef8 100644
--- a/src/prefs.vala
+++ b/src/prefs.vala
@@ -240,7 +240,11 @@ public class Prefs : Object {
 		Channel channel;
 		channel_store.get (iter, Column.CHANNEL, out channel, -1);
 		string old_uuid = channel.uuid;
+#if VALA_0_36
+		channel_store.remove (ref iter);
+#else
 		channel_store.remove (iter);
+#endif
 		sync_channel_children ();
 
 		/* Clear out settings debris from the deleted channel if
-- 
2.11.0

Reply via email to