Problem with gtk drawing primitive

2007-05-28 Thread Jerome Blondel
Hi I'm making a widget from scratch using the tutorial's GtkDial as a base. For now I just want to draw something in my widget. The following error occurs (test_sw:4242): Gtk-CRITICAL **: gtk_paint_polygon: assertion `style-depth == gdk_drawable_get_depth (window)' failed This is the code

Re: Problem with gtk drawing primitive

2007-05-28 Thread Yeti
On Mon, May 28, 2007 at 08:21:01PM +0200, Jerome Blondel wrote: I'm making a widget from scratch using the tutorial's GtkDial as a base. For now I just want to draw something in my widget. The following error occurs (test_sw:4242): Gtk-CRITICAL **: gtk_paint_polygon: assertion

Re: Problem with gtk drawing primitive

2007-05-28 Thread Jerome Blondel
David Nec(as (Yeti) : On Mon, May 28, 2007 at 08:21:01PM +0200, Jerome Blondel wrote: I'm making a widget from scratch using the tutorial's GtkDial as a base. For now I just want to draw something in my widget. The following error occurs (test_sw:4242): Gtk-CRITICAL **: