mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Do not set junction sides to the entry frame in spinbuttons.
That's meant to be the outer frame, so no junction sides apply there
This commit is contained in:
parent
f482d4dc89
commit
62fd79b224
@ -923,11 +923,6 @@ gtk_spin_button_draw (GtkWidget *widget,
|
||||
context = gtk_widget_get_style_context (widget);
|
||||
gtk_style_context_save (context);
|
||||
|
||||
if (is_rtl)
|
||||
gtk_style_context_set_junction_sides (context, GTK_JUNCTION_LEFT);
|
||||
else
|
||||
gtk_style_context_set_junction_sides (context, GTK_JUNCTION_RIGHT);
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->draw (widget, cr);
|
||||
|
||||
gtk_style_context_restore (context);
|
||||
|
Loading…
Reference in New Issue
Block a user