diff options
Diffstat (limited to 'gtk/gtkappchooserdialog.c')
-rw-r--r-- | gtk/gtkappchooserdialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index 5abf961fec..ab382e9d02 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -338,7 +338,7 @@ construct_appchooser_widget (GtkAppChooserDialog *self) /* Need to build the appchooser widget after, because of the content-type construct-only property */ self->priv->app_chooser_widget = gtk_app_chooser_widget_new (self->priv->content_type); gtk_widget_set_vexpand (self->priv->app_chooser_widget, TRUE); - gtk_box_pack_start (GTK_BOX (self->priv->inner_box), self->priv->app_chooser_widget); + gtk_container_add (GTK_CONTAINER (self->priv->inner_box), self->priv->app_chooser_widget); g_signal_connect (self->priv->app_chooser_widget, "application-selected", @@ -351,10 +351,10 @@ construct_appchooser_widget (GtkAppChooserDialog *self) G_CALLBACK (widget_populate_popup_cb), self); /* Add the custom button to the new appchooser */ - gtk_box_pack_start (GTK_BOX (self->priv->inner_box), + gtk_container_add (GTK_CONTAINER (self->priv->inner_box), self->priv->show_more_button); - gtk_box_pack_start (GTK_BOX (self->priv->inner_box), + gtk_container_add (GTK_CONTAINER (self->priv->inner_box), self->priv->software_button); info = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (self->priv->app_chooser_widget)); |