[Gtk-sharp-list] monodevelop, gtk# - cannot implicitly convert type 'Gdk.PixBuf' to 'Gdk.PixBuf'
matej148
matejmihalech at yahoo.com
Tue Feb 21 22:22:28 UTC 2012
Hi to all!
I am using monodevelop for creating application on Fedora 15 (gnome 3) for
Fedora 14 and I just wanted to add an icon for button - classic gnome icon
from library, I see that icon in designer in this button, but when I want to
run it, monodevelop throws this error in generated.cs file:
cannot implicitly convert type 'Gdk.PixBuf' to 'Gdk.PixBuf'
It throws (2 times) for this line Gdk.Pixbuf res = widget.RenderIcon (name,
size, null); under class IconLoader and 1 time for MainWindow.cs (w3.Pixbuf
= global::Stetic.IconLoader.LoadIcon (this, "gtk-cut",
global::Gtk.IconSize.Menu);).
Also I have this warning, but maybe it is OK.
Warning: Reference 'glade-sharp, Version=2.10.0.0, Culture=neutral,
PublicKeyToken=xxx' not found on system. Using 'glade-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=xxxx' instead. (pok2)
Thank you very much.
--
View this message in context: http://mono.1490590.n4.nabble.com/monodevelop-gtk-cannot-implicitly-convert-type-Gdk-PixBuf-to-Gdk-PixBuf-tp4408539p4408539.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list