diff options
author | António Fernandes <antoniof@gnome.org> | 2021-12-24 00:34:29 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-01-05 11:46:51 +0000 |
commit | b7fb2d1022c9e92a78024e6a8cefb4174e2d38db (patch) | |
tree | 686e1faf5a296af148abb6afd05eafd6bf9f93c1 /src/nautilus-window-slot.c | |
parent | 80b6f77d2bc1b9463dc0195f44c786f35478d826 (diff) | |
download | nautilus-b7fb2d1022c9e92a78024e6a8cefb4174e2d38db.tar.gz |
general: Stop using gtk_box_pack_start()
In preparation for a smoother GTK4 switch.
Diffstat (limited to 'src/nautilus-window-slot.c')
-rw-r--r-- | src/nautilus-window-slot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index e1d3ae810..16ae23a4a 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -669,8 +669,7 @@ static void nautilus_window_slot_add_extra_location_widget (NautilusWindowSlot *self, GtkWidget *widget) { - gtk_box_pack_start (GTK_BOX (self->extra_location_widgets), - widget, FALSE, TRUE, 0); + gtk_box_append (GTK_BOX (self->extra_location_widgets), widget); gtk_widget_show (self->extra_location_widgets); } @@ -900,7 +899,7 @@ nautilus_window_slot_constructed (GObject *object) extras_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); self->extra_location_widgets = extras_vbox; - gtk_box_pack_start (GTK_BOX (self), extras_vbox, FALSE, FALSE, 0); + gtk_box_append (GTK_BOX (self), extras_vbox); gtk_widget_show (extras_vbox); self->query_editor = NAUTILUS_QUERY_EDITOR (nautilus_query_editor_new ()); |