comparison gtk3/dw.c @ 1637:c8a0daa53e49

In GTK 3.4 foreground colors are now inherited from the parent. So don't set the foreground color on boxes anymore to prevent invisible drawing of labels that are on the boxes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 Mar 2012 23:42:47 +0000
parents c3e08322b8f6
children 01f59ba51e7f
comparison
equal deleted inserted replaced
1636:1d3013463204 1637:c8a0daa53e49
2780 } 2780 }
2781 else if(GTK_IS_GRID(handle)) 2781 else if(GTK_IS_GRID(handle))
2782 { 2782 {
2783 GtkWidget *tmp = (GtkWidget *)g_object_get_data(G_OBJECT(handle), "_dw_eventbox"); 2783 GtkWidget *tmp = (GtkWidget *)g_object_get_data(G_OBJECT(handle), "_dw_eventbox");
2784 if(tmp) 2784 if(tmp)
2785 {
2785 handle2 = tmp; 2786 handle2 = tmp;
2787 fore = DW_CLR_DEFAULT;
2788 }
2786 } 2789 }
2787 2790
2788 _set_color(handle2, fore, back); 2791 _set_color(handle2, fore, back);
2789 2792
2790 DW_MUTEX_UNLOCK; 2793 DW_MUTEX_UNLOCK;