> Hmm...
> I just found theme on my box, that caused problem too (Raleigh). Do
> you see any warnings/errors in console while running?
>
> (a.out:51454): Gtk-CRITICAL **: gtk_paint_box: assertion `GTK_IS_STYLE 
> (style)' failed
>
> If yes, following may help...
> (works now with all themes i have + proper style refcounting).
>

No. I can see no errors... It would be too easy :)


> ps. just googled: Raleigh is "no-engine" theme, maybe "MS-Windows"
> is same for win32??

Raleigh works for me. Only MS-Windows theme desn't, and it has an
engine. So it does not matter.


> --
> Artur
>
> 20.12.09, 23:00, "Sebastian Pająk" <spcon...@gmail.com>:
>
>> Thanks. The code compiles, but the painted box doesn't appear also.
>> But the fault is somewhere else. I found gtk_paint_box doesn't work
>> with MS-Windows theme only. With any other theme no problem exists
>> (yes, I use gtk+ on win xp). It's weird because GtkButton also calls
>> this function and there is no problem drawing it even with MS-Windows
>> theme. I have no idea why it is so. Need to study gtk+ source more...
>> Sebastian
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to