[Gtk-sharp-list] GTK# Crash on Gdk.Pixbuf

Aniello Di Nardo dinardo at creasoftware.net
Tue Jun 2 04:19:07 EDT 2009


Ops… 
I’m sorry… before posting i’ll must to try!!!... file not found!!!

I’ve put the png file in the Debug and Release directory and now work
fine!!!

Thanks

A.D.


Ricardo Medina wrote:
> 
> Try printing in Console this value, is not what you want:
> 	System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory,
> "./dialog-warning.png")
> 
> Dot and slash before "dialog-warning.png" is valid for linux only
> (remove it), this is the reason to use Path.Combine (avoid those two
> characters)..
> 
> Good luck..
> 
> 
> On Mon, 2009-06-01 at 10:30 -0700, Aniello Di Nardo wrote:
>> System.IO.Path.Combine
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
> 

-- 
View this message in context: http://www.nabble.com/GTK--Crash-on-Gdk.Pixbuf-tp23818800p23827741.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list