From: joncruz Date: Mon, 23 Mar 2009 03:16:48 +0000 (+0000) Subject: Switch to widget state for painting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37fc289ecb3c2ce63ebbf1a6479a1745c33d8732;p=inkscape.git Switch to widget state for painting --- diff --git a/src/widgets/eek-preview.cpp b/src/widgets/eek-preview.cpp index 2d9c064e0..7d408c689 100644 --- a/src/widgets/eek-preview.cpp +++ b/src/widgets/eek-preview.cpp @@ -350,7 +350,7 @@ gboolean eek_preview_expose_event( GtkWidget* widget, GdkEventExpose* event ) } gtk_paint_check( style, widget->window, - GTK_STATE_SELECTED/* (GtkStateType)widget->state*/, + (GtkStateType)widget->state, GTK_SHADOW_ETCHED_OUT, NULL, widget, @@ -368,7 +368,7 @@ gboolean eek_preview_expose_event( GtkWidget* widget, GdkEventExpose* event ) } gtk_paint_diamond( style, widget->window, - GTK_STATE_SELECTED/* (GtkStateType)widget->state*/, + (GtkStateType)widget->state, GTK_SHADOW_ETCHED_OUT, NULL, widget,