When the combobox is in menu mode, we still shouldn't discard the
GtkComboBox padding value; it's wrong to allocate it to the button.
gint width;
guint border_width;
- gtk_widget_size_allocate (priv->button, allocation);
/* menu mode */
allocation->x += padding.left;
/* set some things ready */
border_width = gtk_container_get_border_width (GTK_CONTAINER (priv->button));
get_widget_padding_and_border (priv->button, &button_padding);
+ gtk_widget_size_allocate (priv->button, allocation);
child.x = allocation->x;
child.y = allocation->y;