! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-notes-plugin-1.8.0 build fails with vala 0.28
Status:
RESOLVED: MOVED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Mikhail Efremov 2015-04-20 18:27:03 CEST
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.
Comment 1 Git Bot editbugs 2020-05-23 00:27:28 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin/-/issues/28.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11836

Reported by:
Mikhail Efremov
Reported on: 2015-04-20
Last modified on: 2020-05-23

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information