pygtk compile errors



I did a cvs up on my various gtk-related packages this morning.  Now
when I try to compile pygtk I get

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include/python2.1 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -Wall -g -O2 -c gdk.c -MT gdk.lo -MD -MP -MF .deps/gdk.TPlo  -fPIC -DPIC -o gdk.o
    gdk.c: In function `_wrap_gdk_pixbuf_new':
    gdk.c:3957: `GDK_TYPE_COLORSPACE' undeclared (first use in this function)
    gdk.c:3957: (Each undeclared identifier is reported only once
    gdk.c:3957: for each function it appears in.)
    gdk.c: In function `_wrap_gdk_pixbuf_scale':
    gdk.c:4128: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: In function `_wrap_gdk_pixbuf_composite':
    gdk.c:4152: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: In function `_wrap_gdk_pixbuf_composite_color':
    gdk.c:4176: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: In function `_wrap_gdk_pixbuf_scale_simple':
    gdk.c:4194: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: In function `_wrap_gdk_pixbuf_composite_color_simple':
    gdk.c:4211: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: In function `_wrap_gdk_pixbuf_render_to_drawable_alpha':
    gdk.c:4261: `GDK_TYPE_PIXBUF_ALPHA_MODE' undeclared (first use in this function)
    gdk.c: In function `pygdk_add_constants':
    gdk.c:5352: `GDK_TYPE_PIXBUF_ALPHA_MODE' undeclared (first use in this function)
    gdk.c:5353: `GDK_TYPE_COLORSPACE' undeclared (first use in this function)
    gdk.c:5354: `GDK_TYPE_PIXBUF_ERROR' undeclared (first use in this function)
    gdk.c:5355: `GDK_TYPE_INTERP_TYPE' undeclared (first use in this function)
    gdk.c: At top level:
    pygtk-private.h:41: warning: `PyGtk_FatalExceptions' defined but not used

Apparently, several GDK_TYPE #defines disappeared recently.  Is there an
easy translation from these items to something else?

Thanks,

-- 
Skip Montanaro (skip pobox com)
http://www.mojam.com/
http://www.musi-cal.com/




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