diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 07:42:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 08:08:01 +0800 |
commit | 8e2902eefc466c662bd7bef0533de05db0897c49 (patch) | |
tree | 60390d16d242307e7dfc3310149e23acf1f225bf /mail/importers | |
parent | 88c48563537f3e7777193ff9ba5d9418f0038390 (diff) | |
download | gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.gz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.bz2 gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.lz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.xz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.zst gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.zip |
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()).
Diffstat (limited to 'mail/importers')
-rw-r--r-- | mail/importers/elm-importer.c | 2 | ||||
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 4 | ||||
-rw-r--r-- | mail/importers/pine-importer.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c index 8722a8d561..6a20bf4120 100644 --- a/mail/importers/elm-importer.c +++ b/mail/importers/elm-importer.c @@ -326,7 +326,7 @@ elm_getwidget (EImport *ei, g_datalist_set_data ( &target->data, "elm-do-mail", GINT_TO_POINTER (TRUE)); - box = gtk_vbox_new (FALSE, 2); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); w = gtk_check_button_new_with_label (_("Mail")); gtk_toggle_button_set_active ((GtkToggleButton *) w, TRUE); diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c index ddbc798374..1e8a09460e 100644 --- a/mail/importers/evolution-mbox-importer.c +++ b/mail/importers/evolution-mbox-importer.c @@ -135,7 +135,7 @@ mbox_getwidget (EImport *ei, select_uri = g_strdup (uri); } - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); w = gtk_label_new_with_mnemonic (_("_Destination folder:")); gtk_box_pack_start ((GtkBox *) hbox, w, FALSE, TRUE, 6); @@ -155,7 +155,7 @@ mbox_getwidget (EImport *ei, G_CALLBACK (folder_selected), target); gtk_box_pack_start ((GtkBox *) hbox, w, FALSE, TRUE, 6); - w = gtk_vbox_new (FALSE, 0); + w = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start ((GtkBox *) w, hbox, FALSE, FALSE, 0); gtk_widget_show_all (w); diff --git a/mail/importers/pine-importer.c b/mail/importers/pine-importer.c index eb7e5ade07..4dc6895b04 100644 --- a/mail/importers/pine-importer.c +++ b/mail/importers/pine-importer.c @@ -417,7 +417,7 @@ pine_getwidget (EImport *ei, &target->data, "pine-do-addr", GINT_TO_POINTER (TRUE)); - box = gtk_vbox_new (FALSE, 2); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); w = gtk_check_button_new_with_label (_("Mail")); gtk_toggle_button_set_active ((GtkToggleButton *) w, TRUE); |