Chain up in size-allocate implementations

Otherwise we're not setting an allocation at all.
This commit is contained in:
Timm Bäder 2017-04-30 21:53:05 +02:00
parent 92b0d2e8ea
commit 5c4934cfc0
8 changed files with 16 additions and 0 deletions

View File

@ -977,6 +977,8 @@ gtk_app_chooser_widget_size_allocate (GtkWidget *widget,
GtkAppChooserWidget *self = GTK_APP_CHOOSER_WIDGET (widget);
GtkAppChooserWidgetPrivate *priv = gtk_app_chooser_widget_get_instance_private (self);
GTK_WIDGET_CLASS (gtk_app_chooser_widget_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->overlay, allocation);
}

View File

@ -174,6 +174,8 @@ gtk_color_button_size_allocate (GtkWidget *widget,
GtkColorButton *button = GTK_COLOR_BUTTON (widget);
GtkColorButtonPrivate *priv = gtk_color_button_get_instance_private (button);
GTK_WIDGET_CLASS (gtk_color_button_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->button, allocation);
}

View File

@ -397,6 +397,8 @@ gtk_file_chooser_button_size_allocate (GtkWidget *widget,
GtkFileChooserButton *button = GTK_FILE_CHOOSER_BUTTON (widget);
GtkFileChooserButtonPrivate *priv = gtk_file_chooser_button_get_instance_private (button);
GTK_WIDGET_CLASS (gtk_file_chooser_button_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->child, allocation);
}

View File

@ -8082,6 +8082,8 @@ gtk_file_chooser_widget_size_allocate (GtkWidget *widget,
GtkFileChooserWidget *self = GTK_FILE_CHOOSER_WIDGET (widget);
GtkFileChooserWidgetPrivate *priv = gtk_file_chooser_widget_get_instance_private (self);
GTK_WIDGET_CLASS (gtk_file_chooser_widget_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->box, allocation);
}

View File

@ -479,6 +479,8 @@ gtk_font_button_size_allocate (GtkWidget *widget,
GtkFontButton *button = GTK_FONT_BUTTON (widget);
GtkFontButtonPrivate *priv = gtk_font_button_get_instance_private (button);
GTK_WIDGET_CLASS (gtk_font_button_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->button, allocation);
}

View File

@ -599,6 +599,8 @@ gtk_font_chooser_widget_size_allocate (GtkWidget *widget,
GtkFontChooserWidget *self = GTK_FONT_CHOOSER_WIDGET (widget);
GtkFontChooserWidgetPrivate *priv = gtk_font_chooser_widget_get_instance_private (self);
GTK_WIDGET_CLASS (gtk_font_chooser_widget_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->grid, allocation);
}

View File

@ -160,6 +160,8 @@ gtk_recent_chooser_widget_size_allocate (GtkWidget *widget,
GtkRecentChooserWidget *self = GTK_RECENT_CHOOSER_WIDGET (widget);
GtkRecentChooserWidgetPrivate *priv = gtk_recent_chooser_widget_get_instance_private (self);
GTK_WIDGET_CLASS (gtk_recent_chooser_widget_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (priv->chooser, allocation);
}

View File

@ -254,6 +254,8 @@ gtk_stack_combo_size_allocate (GtkWidget *widget,
{
GtkStackCombo *self = GTK_STACK_COMBO (widget);
GTK_WIDGET_CLASS (gtk_stack_combo_parent_class)->size_allocate (widget, allocation);
gtk_widget_size_allocate (GTK_WIDGET (self->combo), allocation);
}