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
This commit is contained in:
parent
33404f1ea8
commit
a880013b3e
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue