changeset 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 1d3013463204
children c6ebff29a916
files gtk3/dw.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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);