GTK.Layout error during compilation

Bug #560688 reported by Lucas Roesler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dash
Fix Committed
Critical
K900

Bug Description

I just grabbed rev 99 from bzr. ./autogen.sh runs fine but when I run make I get the following errors:

./IconView.cs(45,55): error CS1502: The best overloaded method match for `Gtk.Layout.Layout(System.IntPtr)' has some invalid arguments
/usr/lib/cli/gtk-sharp-2.0/gtk-sharp.dll (Location of the symbol related to previous error)
./IconView.cs(45,55): error CS1503: Argument `#1' cannot convert `int' expression to type `System.IntPtr'
./IconView.cs(51,36): error CS1061: Type `Gtk.Layout' does not contain a definition for `AddRow' and no extension method `AddRow' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(67,44): error CS1061: Type `Gtk.Layout' does not contain a definition for `AddRow' and no extension method `AddRow' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(77,51): error CS1061: Type `Gtk.Layout' does not contain a definition for `GetLastIcon' and no extension method `GetLastIcon' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(115,36): error CS1061: Type `Gtk.Layout' does not contain a definition for `AddIcon' and no extension method `AddIcon' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(119,84): error CS1061: Type `Gtk.Layout' does not contain a definition for `GetLastIcon' and no extension method `GetLastIcon' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(139,45): error CS1061: Type `Gtk.Layout' does not contain a definition for `GetLastIcon' and no extension method `GetLastIcon' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
./IconView.cs(140,41): error CS1061: Type `Gtk.Layout' does not contain a definition for `GetLastIcon' and no extension method `GetLastIcon' of type `Gtk.Layout' could be found (are you missing a using directive or an assembly reference?)
Compilation failed: 9 error(s), 0 warnings
make[1]: *** [bin/Debug/Dash.exe] Error 1

Revision history for this message
K900 (k0009000) wrote :

Ouch =) It's my new Layout class =) I'll rename it to IconLayout if autotools doesn't like the name

Changed in dashfilebrowser:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → K-9 (k0009000)
Revision history for this message
K900 (k0009000) wrote :

Fixed in rev 100. And yeah, happy rev 100 =)

Revision history for this message
Lucas Roesler (theaxer) wrote :

Wow that was quick. awesome :)

However one other bug did pop-up. Is this related or should I make a new bug report?

./IconView.cs(27,17): error CS0246: The type or namespace name `IconLayout' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Debug/Dash.exe] Error 1

Revision history for this message
K900 (k0009000) wrote :

Aww forgot =) Fixed in 102

Revision history for this message
Lucas Roesler (theaxer) wrote :

I just pulled rev 104 with the same error. Is there any extra information that I should provide?

Revision history for this message
K900 (k0009000) wrote :

finally fixed

Revision history for this message
Lucas Roesler (theaxer) wrote :

Cool :) I have it up and running.

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.