Re: custom widget theme change problem

2012-06-21 Thread James Morris
On 22 June 2012 01:50, James Morris wrote: >> Can anyone give any pointers as to what might be happening? > > I've found the culprit, or put another way, I've found what to comment > out to fix the problem. > > In my custom_widget_realize callback it has the following code which > if I comment out

Re: custom widget theme change problem

2012-06-21 Thread James Morris
Hello again, Seems to be a habit of mine here, I ask a question, don't get an immediate response and then look further into it and find some sort of solution... On 21 June 2012 10:42, James Morris wrote: > Hi, > > I have a custom GTK widget which renders using Cairo. In the expose > callback gtk

custom widget theme change problem

2012-06-21 Thread James Morris
Hi, I have a custom GTK widget which renders using Cairo. In the expose callback gtk_widget_get_style is called to obtain colours to render the widget with some theme consistency. When a theme is changed (ie using gtk-chtheme) any of my custom widgets that are visible are not updated. However, af