[nautilus/wip/antoniof/switch-to-gtk4: 20/36] general: gtk_label_set_line_wrap -> gtk_label_set_wrap
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/switch-to-gtk4: 20/36] general: gtk_label_set_line_wrap -> gtk_label_set_wrap
- Date: Fri, 7 Jan 2022 08:00:54 +0000 (UTC)
commit 0a81d315a2d97229b21eda5f04ed2b58ee0726fe
Author: António Fernandes <antoniof gnome org>
Date: Fri Dec 24 00:58:13 2021 +0000
general: 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 10d8d8fb9..f4d82b727 100644
--- a/extensions/image-properties/nautilus-image-properties-page.c
+++ b/extensions/image-properties/nautilus-image-properties-page.c
@@ -80,7 +80,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]