mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
GtkStyle: Allow GTK_ARROW_NONE.
This commit is contained in:
parent
7e7347d1a0
commit
846f67d805
@ -2220,6 +2220,9 @@ gtk_default_draw_arrow (GtkStyle *style,
|
||||
GtkStateFlags flags = 0;
|
||||
gdouble angle, size;
|
||||
|
||||
if (arrow_type == GTK_ARROW_NONE)
|
||||
return;
|
||||
|
||||
if (widget)
|
||||
context = gtk_widget_get_style_context (widget);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user