From a880013b3e44fd22a49b0563fabd9542de17cce7 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Fri, 28 Nov 2014 20:45:32 +0100 Subject: [PATCH] user-account: Don't stroke the down arrow with the border color Besides using deprecated gtk+ API this color is actually fully transparent in the current GNOME theme, meaning that the arrow ended up looking smaller than intended. https://bugzilla.gnome.org/show_bug.cgi?id=740986 --- panels/user-accounts/um-utils.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/panels/user-accounts/um-utils.c b/panels/user-accounts/um-utils.c index e114a5a9e..c1a1812cb 100644 --- a/panels/user-accounts/um-utils.c +++ b/panels/user-accounts/um-utils.c @@ -414,7 +414,6 @@ down_arrow (GtkStyleContext *context, { GtkStateFlags flags; GdkRGBA fg_color; - GdkRGBA outline_color; gdouble vertical_overshoot; gint diameter; gdouble radius; @@ -425,7 +424,6 @@ down_arrow (GtkStyleContext *context, flags = gtk_style_context_get_state (context); gtk_style_context_get_color (context, flags, &fg_color); - gtk_style_context_get_border_color (context, flags, &outline_color); line_width = 1; angle = G_PI / 2; @@ -457,8 +455,6 @@ down_arrow (GtkStyleContext *context, gdk_cairo_set_source_rgba (cr, &fg_color); cairo_fill_preserve (cr); - - gdk_cairo_set_source_rgba (cr, &outline_color); cairo_stroke (cr); cairo_restore (cr);