spinbutton: Remove queue_resize call from realize
authorTimm Bäder <mail@baedert.org>
Tue, 27 Mar 2018 17:08:50 +0000 (19:08 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 27 Mar 2018 17:08:50 +0000 (19:08 +0200)
No reason for this to be here.

gtk/gtkspinbutton.c

index d6f5919c5eb639db906ff6e2255963df085f7fcc..2a7e2d61a6f87bfa5922ff04c60de07f6974f571 100644 (file)
@@ -952,8 +952,6 @@ gtk_spin_button_realize (GtkWidget *widget)
   if (!return_val &&
       (priv->numeric || gtk_entry_get_text (GTK_ENTRY (priv->entry)) == NULL))
     gtk_spin_button_default_output (spin_button);
-
-  gtk_widget_queue_resize (GTK_WIDGET (spin_button));
 }
 
 /* This is called when :value, :wrap, or the bounds of the adjustment change,