[cheese] Fix build with new vala
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Fix build with new vala
- Date: Sun, 26 Feb 2017 12:01:59 +0000 (UTC)
commit d3cf06a1c53891099dbbedb580d1ac66bcd3b615
Author: Javier Jardón <jjardon gnome org>
Date: Sun Feb 26 11:55:42 2017 +0000
Fix build with new vala
vala change:
https://git.gnome.org/browse/vala/commit/?id=ddca99ea2f25b9a734831589ec209df5322520a4
Build error:
http://build.gnome.org/continuous/buildmaster/builds/2017/02/26/48/build/log-cheese.txt
src/cheese-preferences.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-preferences.vala b/src/cheese-preferences.vala
index 8a3eb7e..f56af7e 100644
--- a/src/cheese-preferences.vala
+++ b/src/cheese-preferences.vala
@@ -455,7 +455,12 @@ public PreferencesDialog (Cheese.Camera camera)
else
this.hide ();
}
+
+#if VALA_0_36
+ camera_model.remove (ref iter);
+#else
camera_model.remove (iter);
+#endif
if (camera_model.iter_n_children (null) <= 1)
source_combo.sensitive = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]