forked from AuroraMiddleware/gtk
Chain up in size-allocate implementations
Otherwise we're not setting an allocation at all.
This commit is contained in:
parent
92b0d2e8ea
commit
5c4934cfc0
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user