! 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 !
notes-plugin (trunk) cannot build with vala 0.6.1 or 0.7.0
Status:
RESOLVED: FIXED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Masato Hashimoto 2009-04-20 13:24:51 CEST
Overview:
 To build the notes-plugin fails by the following errors if vala's version is 0.6.1 or 0.7.0.

Error messages:
/usr/bin/valac --pkg=gtk+-2.0 hypertextview.vala -C
hypertextview.vala:171.24-172.41: error: Too many arguments, method `GLib.Timeout.add_seconds_full' does not take 4 arguments
hypertextview.vala:177.24-178.42: error: Too many arguments, method `GLib.Timeout.add_seconds_full' does not take 4 arguments
hypertextview.vala:343.23-344.41: error: Too many arguments, method `GLib.Timeout.add_seconds_full' does not take 4 arguments
Compilation failed: 3 error(s), 0 warning(s)

notes-plugin version: trunk-r7213

Build & Platform:
 Build 2009-04-20 on Arch Linux
Comment 1 Mike Massonnet editbugs 2009-04-20 13:34:58 CEST
The vala code supports 0.5. Vala 0.7 has been introduced changes that as you can see renders the code uncompilable.

The code will have to be updated to support Vala >= 0.7.
Comment 2 Mike Massonnet editbugs 2009-05-22 08:45:30 CEST
DestroyNotify functions are used to unref/free the data passed to a timeout from now on. I updated the code.

Bug #5260

Reported by:
Masato Hashimoto
Reported on: 2009-04-20
Last modified on: 2009-07-15

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information