diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-26 08:20:34 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-01-23 19:30:46 -0500 |
commit | bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6 (patch) | |
tree | 6478bd038c42a535caacf65f948892a9d0dfe5e9 /gtk/gtkappchooserdialog.c | |
parent | 09361e76659bd1951a222cd64537abacc6a6f44a (diff) | |
download | gtk+-bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6.tar.gz |
Stop using gtk_box_pack_end
It might soon go away!
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)); |