Hello,

I was able to compile gtk-2.0 on solaris and install
it along with glib, atk and pango.
I have installed the library in /usr/local/lib.
Header's are installed in /usr/local/include.

I am trying to use the function 
gdk_pixbuf_xlib_get_from_drawable()
which returns a GdkPixbuf. I have included the .h files. Have
set complier flags to include appropriate header files. Have set
the library to link.
I am getting an error "The type _GdkPixbuf" is incomplete.

When I looked into the gdk-pixbuf.h, I see that GdkPixbuf is
typedef to structure _GdkPixbuf. This structure is not defined 
in
any files under /usr/local/include/gtk-2.0/gdk-pixbuf

I see that this structure has been declared in 
gdk-pixbuf-private.h
and this file is not installed in 
/usr/local/include/gtk-2.0/gdk-pixbuf
Is this the reason I am getting compilation error, or I am doing 
something wrong.
Please let me know what I should do.

Thanks,
anita
.

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to