This is an automated email from the git hooks/post-receive script. a l e x 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 abd9dedaa192291af7b7f935463a1c6a99335ee2 Author: Alexander Schwinn <ac...@gmx.de> Date: Wed Nov 22 22:27:07 2017 +0100 replaced gtk3 deprecation "gdk_cairo_set_source_color" by "gdk_cairo_set_source_rgba" - part II ( Now done the same like in internal deprecated gtk3 method "gtk_style_context_get_background_color" in order to elude a possible memory leak ) --- thunar/thunar-icon-renderer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/thunar/thunar-icon-renderer.c b/thunar/thunar-icon-renderer.c index b0338d2..42b62f7 100644 --- a/thunar/thunar-icon-renderer.c +++ b/thunar/thunar-icon-renderer.c @@ -304,7 +304,7 @@ thunar_icon_renderer_color_selected (cairo_t *cr, { cairo_pattern_t *source; GtkStateFlags state; - GdkRGBA color; + GdkRGBA *color; GtkStyleContext *context = gtk_widget_get_style_context (widget); cairo_save (cr); @@ -312,7 +312,8 @@ thunar_icon_renderer_color_selected (cairo_t *cr, source = cairo_pattern_reference (cairo_get_source (cr)); state = gtk_widget_has_focus (widget) ? GTK_STATE_FLAG_SELECTED : GTK_STATE_FLAG_ACTIVE; gtk_style_context_get (context, state, GTK_STYLE_PROPERTY_BACKGROUND_COLOR, &color, NULL); - gdk_cairo_set_source_rgba (cr, &color); + gdk_cairo_set_source_rgba (cr, color); + gdk_rgba_free (color); cairo_set_operator (cr, CAIRO_OPERATOR_MULTIPLY); cairo_mask (cr, source); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits