aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-20 21:50:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-22 17:46:19 +0800
commit487a47c79abbcc6876b9b71b85d7c0923711da39 (patch)
tree2ae01b70fc9f207ea1c817ca79b377b88ee25696
parentc6340f58a4d01b70c59d224ece8994e613d0fd47 (diff)
downloadgsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar.gz
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar.bz2
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar.lz
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar.xz
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.tar.zst
gsoc2013-empathy-487a47c79abbcc6876b9b71b85d7c0923711da39.zip
don't use deprecated GTK+ API
-rw-r--r--src/empathy-accounts-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index cab16bf55..7535d165d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -787,7 +787,7 @@ account_dialog_create_dialog_content (EmpathyAccountsDialog *dialog,
// g_object_remove_weak_pointer (G_OBJECT (priv->setting_widget_object),
// (gpointer *) &priv->setting_widget_object);
- priv->dialog_content = gtk_vbox_new (FALSE, 6);
+ priv->dialog_content = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (priv->alignment_settings),
priv->dialog_content);
gtk_widget_show (priv->dialog_content);
@@ -808,7 +808,7 @@ account_dialog_create_dialog_content (EmpathyAccountsDialog *dialog,
account_dialog_show_contact_details_failed (dialog, FALSE);
}
- bbox = gtk_hbutton_box_new ();
+ bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), GTK_BUTTONBOX_END);
gtk_box_pack_end (GTK_BOX (priv->dialog_content), bbox, FALSE, TRUE, 0);
gtk_widget_show (bbox);