! 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 !
xfmpc fails to build Vala code
Status:
RESOLVED: FIXED

Comments

Description Christoph Mende 2010-05-26 15:47:39 CEST
this is after `make all` on a current git checkout:

  VALAC  xfmpc_vala.stamp
playlist.vala:170.34-170.41: error: cannot infer generic type argument for type parameter `GLib.Object.get_data.T'
                        dbbrowser = (Xfmpc.Dbbrowser) get_data ("XfmpcDbbrowser");
                                                      ^^^^^^^^
playlist.vala:171.51-171.58: error: cannot infer generic type argument for type parameter `GLib.Object.get_data.T'
                        extended_interface = (Xfmpc.ExtendedInterface) get_data ("XfmpcExtendedInterface");
                                                                       ^^^^^^^^
dbbrowser.vala:139.47-139.54: error: cannot infer generic type argument for type parameter `GLib.Object.get_data.T'
                        Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
                                                                   ^^^^^^^^
dbbrowser.vala:224.47-224.54: error: cannot infer generic type argument for type parameter `GLib.Object.get_data.T'
                        Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
                                                                   ^^^^^^^^
dbbrowser.vala:309.47-309.54: error: cannot infer generic type argument for type parameter `GLib.Object.get_data.T'
                        Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
                                                                   ^^^^^^^^
Compilation failed: 5 error(s), 0 warning(s)
Comment 1 Mike Massonnet editbugs 2010-05-27 12:06:13 CEST
So g_object_get/set_data finally got fixed, but in a way that it breaks old-code, casual ;-)

Someone will surely fix this when he, she, or me gets behind the code.
Comment 2 Skunnyk 2010-06-06 15:05:43 CEST
Created attachment 3007 
Depends on vala 0.8
Comment 3 Skunnyk 2010-06-06 15:07:30 CEST
Previous comment:
A little patch to fix build with vala 0.8 (depends on vala 0.8+ now)

Bug #6475

Reported by:
Christoph Mende
Reported on: 2010-05-26
Last modified on: 2010-06-08

People

Assignee:
Vincent Legout
CC List:
1 user

Version

Version:
unspecified

Attachments

Depends on vala 0.8 (2.42 KB, patch)
2010-06-06 15:05 CEST , Skunnyk
no flags

Additional information