diff options
author | Ernestas Kulik <ekulik@redhat.com> | 2019-02-08 21:34:44 +0100 |
---|---|---|
committer | Ernestas Kulik <ekulik@redhat.com> | 2019-06-29 14:33:41 +0200 |
commit | 3de630d860a4f9c29d0842a61ecff1cdae4f1c7b (patch) | |
tree | 15df334762b4f525fd039e03763348fdf22bc70c | |
parent | d24813116ee9f80d224ab4a03f7c8c71622d5883 (diff) | |
download | nautilus-3de630d860a4f9c29d0842a61ecff1cdae4f1c7b.tar.gz |
general: Drop gtk_box_pack_end()
-rw-r--r-- | src/nautilus-floating-bar.c | 2 | ||||
-rw-r--r-- | src/nautilus-properties-window.c | 4 | ||||
-rw-r--r-- | src/nautilus-view-icon-item-ui.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c index 24d9e4bec..449a31143 100644 --- a/src/nautilus-floating-bar.c +++ b/src/nautilus-floating-bar.c @@ -526,7 +526,7 @@ nautilus_floating_bar_add_action (NautilusFloatingBar *self, gtk_style_context_add_class (context, "circular"); gtk_style_context_add_class (context, "flat"); gtk_widget_set_valign (button, GTK_ALIGN_CENTER); - gtk_box_pack_end (GTK_BOX (self), button); + gtk_container_add (GTK_CONTAINER (self), button); gtk_widget_show (button); g_object_set_data (G_OBJECT (button), "action-id", diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index 891a0daa3..32691352d 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -303,7 +303,7 @@ add_prompt (GtkWidget *vbox, } else { - gtk_box_pack_end (GTK_BOX (vbox), prompt); + gtk_container_add (GTK_CONTAINER (vbox), prompt); } } @@ -318,7 +318,7 @@ add_prompt_and_separator (GtkWidget *vbox, separator_line = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); gtk_widget_set_margin_top (separator_line, 2 * ROW_PAD); gtk_widget_show (separator_line); - gtk_box_pack_end (GTK_BOX (vbox), separator_line); + gtk_container_add (GTK_CONTAINER (vbox), separator_line); } static void diff --git a/src/nautilus-view-icon-item-ui.c b/src/nautilus-view-icon-item-ui.c index ade8bb7c1..047de892d 100644 --- a/src/nautilus-view-icon-item-ui.c +++ b/src/nautilus-view-icon-item-ui.c @@ -152,7 +152,7 @@ constructed (GObject *object) gtk_label_set_lines (label, 3); gtk_label_set_justify (label, GTK_JUSTIFY_CENTER); gtk_widget_set_valign (GTK_WIDGET (label), GTK_ALIGN_START); - gtk_box_pack_end (container, GTK_WIDGET (label)); + gtk_container_add (GTK_CONTAINER (container), GTK_WIDGET (label)); style_context = gtk_widget_get_style_context (GTK_WIDGET (item_selection_background)); gtk_style_context_add_class (style_context, "icon-item-background"); |