diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-07-21 18:20:26 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-07-21 18:20:26 -0300 |
commit | 6adf3cf74c321afd3f23064c19bfc14f1ceb4366 (patch) | |
tree | a0299b041b2014f7077774ff971bc5eacffa05c4 /eel | |
parent | e6a2a3f4b70ee15d90a2db73ed37f6064dd661df (diff) | |
download | nautilus-6adf3cf74c321afd3f23064c19bfc14f1ceb4366.tar.gz |
project: replace deprecated GtkMisc calls
GtkMisc is deprecated since 3.14 release, being replaced
by GtkWidget's halign & valign, and GtkLabel's xalign &
yalign.
Nautilus, however, did not updated its codebase to match
the new deprecations.
Remove any reminescent gtk_misc* calls from the codebase.
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-gtk-extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c index 38d7c0068..a68ff4679 100644 --- a/eel/eel-gtk-extensions.c +++ b/eel/eel-gtk-extensions.c @@ -329,7 +329,7 @@ eel_gtk_message_dialog_set_details_label (GtkMessageDialog *dialog, label = gtk_label_new (details_text); 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.5); + gtk_label_set_xalign (GTK_LABEL (label), 0); gtk_container_add (GTK_CONTAINER (expander), label); gtk_box_pack_start (GTK_BOX (content_area), expander, FALSE, FALSE, 0); |