diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-09 08:26:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-11 22:38:21 -0400 |
commit | 2a24b8c6534b58051135570399cba8a6b04d34ea (patch) | |
tree | c3b4690ed396ab2b2ca162641bd2008d0bd7630e /gtk/gtkfilechooserdialog.c | |
parent | 665edcba53bf2f2e854a95cdcc52a72c16a1a427 (diff) | |
download | gtk+-2a24b8c6534b58051135570399cba8a6b04d34ea.tar.gz |
Replace most remaining uses of container api
These are all on GtkBox or enumerating children.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 6cb112d0ba..8449c321a6 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -565,8 +565,8 @@ setup_save_entry (GtkFileChooserDialog *dialog) g_object_set (label, "margin-start", 6, "margin-end", 6, NULL); g_object_set (entry, "margin-start", 6, "margin-end", 6, NULL); gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry); - gtk_container_add (GTK_CONTAINER (box), label); - gtk_container_add (GTK_CONTAINER (box), entry); + gtk_box_append (GTK_BOX (box), label); + gtk_box_append (GTK_BOX (box), entry); gtk_header_bar_set_title_widget (GTK_HEADER_BAR (header), box); gtk_file_chooser_widget_set_save_entry (GTK_FILE_CHOOSER_WIDGET (priv->widget), entry); |