When I was adding buddy icons to Gaim I wrote a quick test program that
used GdkPixbuf. You can get a copy of that program here.
To compile it, run:
gcc -o pixbuf pixbuf.c `gdk-pixbuf-config --cflags` `gdk-pixbuf-config
--libs`
Well, as it turns out, it doesn't display the following images very well:
So I wrote another quick test program to test GTK 2. You can get a copy
of that program here. To compile it, run:
gcc -o pixbuf2 pixbuf2.c `pkg-config gtk+-x11-2.0 --cflags` `pkg-config
gtk+-x11-2.0 --libs`
Turns out I actually didn't need to write it because there's a testanimation
program in the GTK 2 source that does exactly the same thing. Oh well. Anyway,
if you compare the two you'll see that it's much easier to code and displays
better. Such is the power of GTK 2.
``Dedicated to the near-memory of Rob Flynn. Let's start remembering
people while they're still alive.''
- Mark Spencer -