Skip to content

Commit

Permalink
Replace gtk_paint_shadow by gtk_render_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Miranda committed Jun 6, 2018
1 parent e8ccd6f commit cf1b4ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions thunar/thunar-standard-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,10 +1122,8 @@ thunar_standard_view_draw (GtkWidget *widget,
{
gtk_widget_get_allocation (widget, &a);

gtk_paint_shadow (gtk_widget_get_style (widget), cr,
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
widget, "dnd",
a.x, a.y, a.width, a.height);
gtk_render_frame (gtk_widget_get_style_context (widget),
cr, a.x, a.y, a.width, a.height);

/* the cairo version looks better here, so we use it if possible */
cairo_set_source_rgb (cr, 0.0, 0.0, 0.0);
Expand Down

0 comments on commit cf1b4ae

Please sign in to comment.