forked from AuroraMiddleware/gtk
spinner: Don't arbitrarily limit sizes anymore
This essentially reverts b33877e173
Now that we can theme the spinner as a real icon using -gtk-icontheme()
this limit is no longer necessary.
This commit is contained in:
parent
f56ba8378b
commit
55f473f4e6
@ -200,12 +200,6 @@ gtk_spinner_draw (GtkWidget *widget,
|
||||
height = gtk_widget_get_allocated_height (widget);
|
||||
size = MIN (width, height);
|
||||
|
||||
/* at most allow a double size spinner */
|
||||
if (size >= 3 * SPINNER_SIZE)
|
||||
size = SPINNER_SIZE * 2;
|
||||
else
|
||||
size = SPINNER_SIZE;
|
||||
|
||||
gtk_render_activity (context, cr,
|
||||
(width - size) / 2,
|
||||
(height - size) / 2,
|
||||
|
Loading…
Reference in New Issue
Block a user