Problem with gdk_pixbuf_new_from_stream



Hello list,

I have a code for loading image:

..................
GFileInputStream* ins;
GFile* gf = g_file_new_for_path(file_path);
ins = g_file_read(gf, NULL, NULL);

mw->pix = gdk_pixbuf_new_from_stream(G_INPUT_STREAM(ins), NULL, NULL);
gtk_image_view_set_pixbuf (GTK_IMAGE_VIEW (mw->view), mw->pix, TRUE);
g_input_stream_close(G_INPUT_STREAM(ins), NULL, NULL);
..................

But when i try to run my application i see error: symbol lookup error:
undefined symbol: gdk_pixbuf_new_from_stream

What's wrong?

Thank you.



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