Hi. Replacements would probably look like this: > gdk_gc_new cairo_create() or gdk_cairo_create() if you're using GTK+ > gdk_gc_set_foreground cairo_set_source_rgb() or gdk_cairo_set_source_color() > gdk_pixmap_create_from_xpm This last one is a bit tricky, since you should not use GdkPixmaps anymore. For equivalent result, you'll need to - create new cairo surface that will serve as a replacement for GdkPixmap - load XPM into GdkPixbuf - paint that pixbuf onto your new surface Tadej -- Tadej BorovÅak tadeboro.blogspot.com tadeboro@xxxxxxxxx tadej.borovsak@xxxxxxxxx _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list