From 8e2902eefc466c662bd7bef0533de05db0897c49 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 19 Jan 2013 18:42:33 -0500 Subject: Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2. Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()). --- plugins/mail-notification/mail-notification.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/mail-notification') diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index bbfc685e11..2c2c701d3b 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -655,7 +655,7 @@ get_config_widget_sound (void) scw = g_malloc0 (sizeof (struct _SoundConfigureWidgets)); - vbox = gtk_vbox_new (FALSE, 6); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_widget_show (vbox); container = vbox; @@ -686,7 +686,7 @@ get_config_widget_sound (void) container = widget; - widget = gtk_vbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); @@ -718,7 +718,7 @@ get_config_widget_sound (void) group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (widget)); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -784,7 +784,7 @@ get_cfg_widget (void) settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_widget_show (widget); container = widget; -- cgit v1.2.3