diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-17 00:07:51 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-21 18:00:35 +0800 |
commit | 76d770933b31a9a928942dc0782b0cdb23ea7223 (patch) | |
tree | 457e48adb427f1c264b1bab8cdf1ebd060a74d3d /libempathy-gtk/empathy-account-widget.c | |
parent | bd43c34901fbcc8202c3e96246fe77a31a4154db (diff) | |
download | gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar.gz gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar.bz2 gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar.lz gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar.xz gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.tar.zst gsoc2013-empathy-76d770933b31a9a928942dc0782b0cdb23ea7223.zip |
use gtk_box_new() instead of gtk_[h,v]box_new()
https://bugzilla.gnome.org/show_bug.cgi?id=662903
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 33082ba63..f1b463c03 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -1172,7 +1172,7 @@ account_widget_build_external (EmpathyAccountWidget *self, const gchar *provider, *name = NULL; GDesktopAppInfo *desktop_info = NULL; - self->ui_details->widget = gtk_vbox_new (FALSE, 6); + self->ui_details->widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); priv->grid_common_settings = gtk_grid_new (); provider = tp_account_get_storage_provider (account); @@ -2190,9 +2190,11 @@ do_constructed (GObject *obj) !(storage_restrictions & TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PARAMETERS)) { - GtkWidget *hbox = gtk_hbox_new (TRUE, 3); + GtkWidget *hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); GtkWidget *image; + gtk_box_set_homogeneous (hbox, TRUE); + /* We can't use the stock button as its accelerator ('C') clashes with * the Close button. */ priv->cancel_button = gtk_button_new (); |