[yocto] [matchbox-panel-2][PATCH 21/25] Don't use deprecated GtkMisc
Jussi Kukkonen
jussi.kukkonen at intel.com
Tue May 3 04:30:40 PDT 2016
These changes should not affect fucntionality
Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
applets/notify/mb-notification.c | 2 +-
applets/systray/fixedtip.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/applets/notify/mb-notification.c b/applets/notify/mb-notification.c
index e440ec9..c73b21f 100644
--- a/applets/notify/mb-notification.c
+++ b/applets/notify/mb-notification.c
@@ -85,7 +85,7 @@ mb_notification_init (MbNotification *self)
gtk_box_pack_start (GTK_BOX (box), priv->image, FALSE, FALSE, 0);
priv->label = gtk_label_new (NULL);
- gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
+ gtk_label_set_xalign (GTK_LABEL (priv->label), 0.0);
gtk_box_pack_start (GTK_BOX (box), priv->label, TRUE, TRUE, 0);
}
diff --git a/applets/systray/fixedtip.c b/applets/systray/fixedtip.c
index 861e4ab..ce19067 100644
--- a/applets/systray/fixedtip.c
+++ b/applets/systray/fixedtip.c
@@ -116,7 +116,6 @@ na_fixed_tip_init (NaFixedTip *fixedtip)
label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5);
gtk_widget_show (label);
gtk_container_add (GTK_CONTAINER (fixedtip), label);
fixedtip->priv->label = label;
--
2.8.1
More information about the yocto
mailing list