summaryrefslogtreecommitdiff
path: root/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c')
-rw-r--r--cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
index 2ae52737..8387178b 100644
--- a/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
+++ b/cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c
@@ -380,12 +380,9 @@ gimp_cell_renderer_toggle_render (GtkCellRenderer *cell,
cairo_save (cr);
gdk_cairo_rectangle (cr, &draw_rect);
cairo_clip (cr);
- gtk_paint_shadow (style,
+ gtk_render_frame (gtk_widget_get_style_context (widget),
cr,
- state,
- active ? GTK_SHADOW_IN : GTK_SHADOW_OUT,
- widget, NULL,
- toggle_rect.x, toggle_rect.y,
+ toggle_rect.x, toggle_rect.y,
toggle_rect.width, toggle_rect.height);
cairo_restore (cr);
}