Compile error with GTK2 in delayed-load.vala

Bug #1026945 reported by Stéphane Marguet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Critical
André Stösel

Bug Description

With GTK2, the compilation fail with :

../extensions/delayed-load.vala:50.31-50.46: error: The name `with_range' does not exist in the context of `Gtk.Scale'

«this.slider = new Scale.with_range (Orientation.HORIZONTAL, 0, 15, 0.1);»

libgtk2.0-dev 2.24.10-0ubuntu6 from precise

Tags: review
Revision history for this message
André Stösel (ivaldi) wrote :
Changed in midori:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → André Stösel (ivaldi)
tags: added: review
Revision history for this message
Cris Dywan (kalikiana) wrote :

We need to use Gtk.HScale in fact, the "Since: 3.0" is misleading.

Changed in midori:
status: Confirmed → Fix Committed
Revision history for this message
André Stösel (ivaldi) wrote :

Oh, I have overlooked that (HScale). Thank you :)

Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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