From 37fc289ecb3c2ce63ebbf1a6479a1745c33d8732 Mon Sep 17 00:00:00 2001 From: joncruz Date: Mon, 23 Mar 2009 03:16:48 +0000 Subject: [PATCH] Switch to widget state for painting --- src/widgets/eek-preview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.30.2