From 55f473f4e6cc6fa35f36e7ab9c4586ea1873df88 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 5 May 2014 15:32:34 +0200 Subject: [PATCH] spinner: Don't arbitrarily limit sizes anymore This essentially reverts b33877e1737a7799b29f5b3a3d291e55e95e8436 Now that we can theme the spinner as a real icon using -gtk-icontheme() this limit is no longer necessary. --- gtk/gtkspinner.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c index 86c4e1a5c9..fa6933ef73 100644 --- a/gtk/gtkspinner.c +++ b/gtk/gtkspinner.c @@ -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,