Re: drawing with GTK 3.0

2011-02-12 Thread Allin Cottrell
On Sat, 12 Feb 2011, Allin Cottrell wrote: > I've got my app to build against gtk 3.0 but I'm having trouble > getting some drawing code ported... Ah, I now see what part of my problem was: I hadn't looked up the latest signature for the GtkWidget "draw" callback. I had this as > void plot_draw

drawing with GTK 3.0

2011-02-12 Thread Allin Cottrell
I've got my app to build against gtk 3.0 but I'm having trouble getting some drawing code ported. It was OK as of the "transitional" state part-way through Benjamin Otte's gdk cleanup and it works with gtk 2.24, but my attempt at gtk 3.0 code fails: I get an empty canvas window where there's suppos