diff 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
line wrap: on
line diff
--- a/gtk3/dw.c	Thu Mar 29 17:10:04 2012 +0000
+++ b/gtk3/dw.c	Fri Mar 30 23:42:47 2012 +0000
@@ -2782,7 +2782,10 @@
    {
       GtkWidget *tmp = (GtkWidget *)g_object_get_data(G_OBJECT(handle), "_dw_eventbox");
       if(tmp)
+      {
          handle2 = tmp;
+         fore = DW_CLR_DEFAULT;
+      }
    }
 
    _set_color(handle2, fore, back);