[evince/wip/gpoo/improve-message-area] progress-message-area: Fix gtk_misc deprecated symbols
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/improve-message-area] progress-message-area: Fix gtk_misc deprecated symbols
- Date: Fri, 9 Nov 2018 04:42:25 +0000 (UTC)
commit 4351dc034d829c4abb3e6b9d9a78a9500395e938
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Fri Nov 9 01:41:35 2018 -0300
progress-message-area: Fix gtk_misc deprecated symbols
shell/ev-progress-message-area.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/shell/ev-progress-message-area.c b/shell/ev-progress-message-area.c
index e0f793e9..84ca05a9 100644
--- a/shell/ev-progress-message-area.c
+++ b/shell/ev-progress-message-area.c
@@ -91,7 +91,7 @@ ev_progress_message_area_init (EvProgressMessageArea *area)
gtk_label_set_use_markup (GTK_LABEL (priv->label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (priv->label),
PANGO_ELLIPSIZE_END);
- gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
+ g_object_set (G_OBJECT (priv->label), "xalign", 0., "yalign", 0.5, NULL);
gtk_box_pack_start (GTK_BOX (vbox), priv->label, TRUE, TRUE, 0);
gtk_widget_show (priv->label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]