Bump minimum vala version to 0.28

Bug #1471393 reported by Dave
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wingpanel
Fix Released
Medium
Unassigned

Bug Description

Hello,

I'm trying to compile wingpanel on elementary os freya because I want to make some minor changes. I guess it should compile well on freya as I suppose that's what you guys do, but I get the following error when trying to make:
src/Widgets/BasePanel.vala:292.51-292.64: error: The type name `Gdk.FrameClock' could not be found
    private bool draw_timeout (Gtk.Widget widget, Gdk.FrameClock frame_clock) {

When I naively comment that function ant its call, I then get a lot of errors like the following:
src/Widgets/BasePanel.vala:356.57-356.77: error: The name `get_scale_factor' does not exist in the context of `Wingpanel.Widgets.BasePanel'
        struts[Struts.TOP] = (panel_height + panel_y) * this.get_scale_factor ();

I am using the bzr repo lp:wingpanel/0.3.x at revision 224, and I didn't change anything yet in the files (except the above commenting for testing purposes), do you know what may be wrong ?

Thank you for your help,
Best regards,
David

Revision history for this message
Dave (dav666666) wrote :

Solved, I had valac 0.16. Using version 0.28, wingpanel compiled without errors.
Sorry for bothering you.

Best regard,
David

Cody Garver (codygarver)
Changed in wingpanel:
importance: Undecided → Medium
milestone: none → freya-0.3.1
status: New → Fix Committed
summary: - Can't compile wingpanel on elementary os freya
+ Bump minimum vala version to 0.28
Cody Garver (codygarver)
Changed in wingpanel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.