summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 04:17:27 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-05-01 20:11:19 +0500
commit739f681076493ec2223cf339916295890bc9926a (patch)
tree7e1c28344dde0be73949e7029ab235a3e3061749 /gtk/gtkfilechooserdialog.c
parentc2e4e1af734fda7c65ea593a869af9c3561af98e (diff)
downloadgtk+-739f681076493ec2223cf339916295890bc9926a.tar.gz
headerbar: Rename custom-title to title-widget
Now that all the other title-related properties are gone, custom title can have a more mundane name.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r--gtk/gtkfilechooserdialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index c7d6cec1c6..4f5e9f6ca4 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -507,7 +507,7 @@ setup_search (GtkFileChooserDialog *dialog)
translate_subtitle_to_visible,
NULL, NULL, NULL);
- gtk_header_bar_set_custom_title (GTK_HEADER_BAR (header), box);
+ gtk_header_bar_set_title_widget (GTK_HEADER_BAR (header), box);
gtk_container_forall (GTK_CONTAINER (header), add_button, dialog);
}
@@ -549,12 +549,12 @@ setup_save_entry (GtkFileChooserDialog *dialog)
gtk_container_add (GTK_CONTAINER (box), label);
gtk_container_add (GTK_CONTAINER (box), entry);
- gtk_header_bar_set_custom_title (GTK_HEADER_BAR (header), box);
+ 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);
}
else if (!need_entry && priv->has_entry)
{
- gtk_header_bar_set_custom_title (GTK_HEADER_BAR (header), NULL);
+ gtk_header_bar_set_title_widget (GTK_HEADER_BAR (header), NULL);
gtk_file_chooser_widget_set_save_entry (GTK_FILE_CHOOSER_WIDGET (priv->widget), NULL);
}