[gnome-control-center] online-accounts: Fix deprecated API usage
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] online-accounts: Fix deprecated API usage
- Date: Fri, 5 Dec 2014 15:15:33 +0000 (UTC)
commit 54227dc21eb813be55e3b55aa0871e8c06006d91
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Nov 26 16:08:51 2014 +0100
online-accounts: Fix deprecated API usage
https://bugzilla.gnome.org/show_bug.cgi?id=740986
panels/online-accounts/cc-online-accounts-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index d5ee033..e43e867 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -491,11 +491,11 @@ show_page_account (CcGoaPanel *panel,
gtk_container_add (GTK_CONTAINER (grid), labels_grid);
label = gtk_label_new (_("Credentials have expired."));
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_container_add (GTK_CONTAINER (labels_grid), label);
label = gtk_label_new (_("Sign in to enable this account."));
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_style_context_add_class (gtk_widget_get_style_context (label), "dim-label");
gtk_container_add (GTK_CONTAINER (labels_grid), label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]