diff options
author | Jason Conti <jason.conti@gmail.com> | 2019-06-08 14:12:16 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2019-06-08 14:12:16 -0400 |
commit | dec6923d3d0ae2ce635b6779420c1395c5956010 (patch) | |
tree | 4485b106a741c1ca3a57502e7ee0dcd9799f9321 /src/indicator-notifications.c | |
parent | 6311a70ec239ce9b118a419dfddc5279b49d246d (diff) | |
download | ayatana-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/indicator-notifications.c')
-rw-r--r-- | src/indicator-notifications.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c index a7ced67..e1ebccc 100644 --- a/src/indicator-notifications.c +++ b/src/indicator-notifications.c @@ -177,7 +177,8 @@ indicator_notifications_init(IndicatorNotifications *self) /* Create the clear menuitem */ self->priv->clear_item_label = gtk_label_new(NULL); - gtk_misc_set_alignment(GTK_MISC(self->priv->clear_item_label), 0, 0); + gtk_label_set_xalign(GTK_LABEL(self->priv->clear_item_label), 0); + gtk_label_set_yalign(GTK_LABEL(self->priv->clear_item_label), 0); gtk_label_set_use_markup(GTK_LABEL(self->priv->clear_item_label), TRUE); update_clear_item_markup(self); gtk_widget_show(self->priv->clear_item_label); |