[nautilus/wip/antoniof/experimental-gtk4-build: 26/52] gtk_label_set_line_wrap -> gtk_label_set_wrap




commit 89e14128e577fc2e2655812072fe5ae4f6123d96
Author: António Fernandes <antoniof gnome org>
Date:   Fri Dec 24 00:58:13 2021 +0000

    gtk_label_set_line_wrap -> gtk_label_set_wrap

 extensions/image-properties/nautilus-image-properties-page.c | 2 +-
 src/nautilus-file-operations.c                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/image-properties/nautilus-image-properties-page.c 
b/extensions/image-properties/nautilus-image-properties-page.c
index cf435e60c..afae8ccf0 100644
--- a/extensions/image-properties/nautilus-image-properties-page.c
+++ b/extensions/image-properties/nautilus-image-properties-page.c
@@ -78,7 +78,7 @@ append_item (NautilusImagesPropertiesPage *page,
 
         value_label = gtk_label_new (value);
 
-        gtk_label_set_line_wrap (GTK_LABEL (value_label), TRUE);
+        gtk_label_set_wrap (GTK_LABEL (value_label), TRUE);
         gtk_grid_attach_next_to (GTK_GRID (page->grid), value_label,
                                  name_label, GTK_POS_RIGHT,
                                  1, 1);
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index c68f15b6e..a6ab32905 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -1393,7 +1393,7 @@ do_run_simple_dialog (gpointer _data)
         content_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
 
         label = gtk_label_new (data->details_text);
-        gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+        gtk_label_set_wrap (GTK_LABEL (label), TRUE);
         gtk_label_set_selectable (GTK_LABEL (label), TRUE);
         gtk_label_set_xalign (GTK_LABEL (label), 0);
         /* Ideally, we shouldn’t do this.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]