[xdg-user-dirs-gtk] Use gtk_label_set_xalign instead of deprecated gtk_misc_set_alignment
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xdg-user-dirs-gtk] Use gtk_label_set_xalign instead of deprecated gtk_misc_set_alignment
- Date: Thu, 13 Oct 2022 12:38:44 +0000 (UTC)
commit ba08d4eeb1349e4b0d42690a28b1ba104bd9282c
Author: Alexander Larsson <alexl redhat com>
Date: Thu Oct 13 14:38:06 2022 +0200
Use gtk_label_set_xalign instead of deprecated gtk_misc_set_alignment
update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/update.c b/update.c
index 8710c79..3b21ab1 100644
--- a/update.c
+++ b/update.c
@@ -233,7 +233,7 @@ update_locale (XdgDirEntry *old_entries)
label = gtk_label_new (_("Note that existing content will not be moved."));
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
+ gtk_label_set_xalign (GTK_LABEL (label), 0);
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]