gtk_image_new_from_file (question)



Hello..

Finally I can compile gtk2 apps :).

Now.. Im trying to use: gtk_image_new_from_file, from a function that
doesnt have a *window* (cause its supoused that will appear in a frame
of the *window* apps).

But when I try to run the app I get: Segmentation Fault.. and it only
happens when I want to add a image from a function like this (with no
window declared).

Do I need to call the window? or how can I show the image?

Thanks, Paul Fischer






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