aboutsummaryrefslogtreecommitdiff
path: root/src/notification-menuitem.c
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2019-06-08 14:12:16 -0400
committerJason Conti <jason.conti@gmail.com>2019-06-08 14:12:16 -0400
commitdec6923d3d0ae2ce635b6779420c1395c5956010 (patch)
tree4485b106a741c1ca3a57502e7ee0dcd9799f9321 /src/notification-menuitem.c
parent6311a70ec239ce9b118a419dfddc5279b49d246d (diff)
downloadayatana-indicator-notifications-dec6923d3d0ae2ce635b6779420c1395c5956010.tar.gz
ayatana-indicator-notifications-dec6923d3d0ae2ce635b6779420c1395c5956010.tar.bz2
ayatana-indicator-notifications-dec6923d3d0ae2ce635b6779420c1395c5956010.zip
* Replace GtkMisc properties with GtkLabel xalign, yalign
Diffstat (limited to 'src/notification-menuitem.c')
-rw-r--r--src/notification-menuitem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notification-menuitem.c b/src/notification-menuitem.c
index 840885e..69bb064 100644
--- a/src/notification-menuitem.c
+++ b/src/notification-menuitem.c
@@ -80,7 +80,8 @@ notification_menuitem_init(NotificationMenuItem *self)
self->priv->hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
self->priv->label = gtk_label_new(NULL);
- gtk_misc_set_alignment(GTK_MISC(self->priv->label), 0, 0);
+ gtk_label_set_xalign(GTK_LABEL(self->priv->label), 0);
+ gtk_label_set_yalign(GTK_LABEL(self->priv->label), 0);
gtk_label_set_use_markup(GTK_LABEL(self->priv->label), TRUE);
gtk_label_set_line_wrap(GTK_LABEL(self->priv->label), TRUE);
gtk_label_set_line_wrap_mode(GTK_LABEL(self->priv->label), PANGO_WRAP_WORD_CHAR);