diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c index 55e2d0c4a5..260ed2d8fe 100644 --- a/gtk/gtkcellrendererprogress.c +++ b/gtk/gtkcellrendererprogress.c @@ -577,7 +577,7 @@ gtk_cell_renderer_progress_render (GtkCellRenderer *cell, gtk_render_background (context, cr, x, y, w, h); gtk_render_frame (context, cr, x, y, w, h); - gtk_style_context_get_padding (context, GTK_STATE_FLAG_NORMAL, &padding); + gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &padding); x += padding.left; y += padding.top;