Re: Image Loading Problem on Windows Box



The code which should load the file is:

GtkPixbuf * logoBuffer = gdk_pixbuf_new_from_file("images/logo.jpg", NULL);

although the following also does not work (a broken image graphic is displayed):

GtkWidget * logo = gtk_image_new_from_file("images/logo.jpg");

naive question showing my ignorance and not having read all the docs - do those two calls "fix-up" the '/' vs '\' issues one has between Unix and Windows?

rick jones



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]