xfce4-notes-plugin-1.8.0 build fails with vala 0.28
Submitted by Mikhail Efremov
Assigned to Mike Massonnet
Description
Created attachment 6205 Avoid an ambiguous reference for Timeout object
Build Configuration:
-
Maintainer Mode: yes
- Vala: /usr/bin/valac 0.28.0
- Xfce4-vala: 4.10.0
-
GTK+: 2.24.27
-
Xfce Panel: 4.12.0
-
Debug Support: no
[...]
hypertextview.vala:204.24-204.30: error: Timeout' is an ambiguous reference between
GLib.Timeout' and Gtk.Timeout' this.undo_timeout = Timeout.add_seconds (2, undo_snapshot); ^^^^^^^ hypertextview.vala:210.24-210.30: error:
Timeout' is an ambiguous reference between GLib.Timeout' and
Gtk.Timeout'
this.tag_timeout = Timeout.add_seconds (2, tag_timeout_cb);
^^^^^^^
hypertextview.vala:388.23-388.29: error: Timeout' is an ambiguous reference between
GLib.Timeout' and Gtk.Timeout' this.tag_timeout = Timeout.add_seconds (2, tag_timeout_cb); ^^^^^^^ [...] note.vala:45.26-45.32: error:
Timeout' is an ambiguous reference between GLib.Timeout' and
Gtk.Timeout'
this.save_timeout = Timeout.add_seconds (60, save_cb);
^^^^^^^
Attached patch should fix this issue.
Patch 6205, "Avoid an ambiguous reference for Timeout object":
0001-Avoid-an-ambiguous-reference-for-Timeout-object.patch