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/save-calendar/csv-format.c | 2 +- plugins/save-calendar/save-calendar.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/save-calendar') diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index e5b2be3b70..872530af16 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -560,7 +560,7 @@ create_options_widget (FormatHandler *handler) GtkWidget *table = gtk_table_new (4, 2, FALSE), *label = NULL, *csv_options = gtk_expander_new_with_mnemonic ( _("A_dvanced options for the CSV format")), - *vbox = gtk_vbox_new (FALSE, 0); + *vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); CsvPluginData *d = handler->data; d->delimiter_entry = gtk_entry_new (); diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 8e8ca93507..c713612db8 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -116,8 +116,8 @@ ask_destination_and_save (ESourceSelector *selector, { FormatHandler *handler = NULL; - GtkWidget *extra_widget = gtk_vbox_new (FALSE, 0); - GtkWidget *hbox = gtk_hbox_new (FALSE, 0); + GtkWidget *extra_widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + GtkWidget *hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); GtkLabel *label = GTK_LABEL (gtk_label_new_with_mnemonic (_("_Format:"))); GtkComboBox *combo = GTK_COMBO_BOX (gtk_combo_box_new ()); GtkTreeModel *model = GTK_TREE_MODEL (gtk_list_store_new -- cgit v1.2.3