[Xfce4-commits] [xfce/thunar] 01/01: Replace gtk_paint_shadow by gtk_render_frame

noreply at xfce.org noreply at xfce.org
Wed Jun 6 04:23:34 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit cf1b4ae588b27b5c74645df8d3089e6a4c9b34b3
Author: Andre Miranda <andreldm at xfce.org>
Date:   Tue Jun 5 23:23:00 2018 -0300

    Replace gtk_paint_shadow by gtk_render_frame
---
 thunar/thunar-standard-view.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 790982d..09c802b 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list