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 /e-util/e-source-config.c | |
parent | 88c48563537f3e7777193ff9ba5d9418f0038390 (diff) | |
download | gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.gz 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 'e-util/e-source-config.c')
-rw-r--r-- | e-util/e-source-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c index 3ffd303804..747cd3b6a7 100644 --- a/e-util/e-source-config.c +++ b/e-util/e-source-config.c @@ -194,7 +194,7 @@ source_config_add_candidate (ESourceConfig *config, candidate->scratch_source = g_object_ref (scratch_source); /* Do not show the page here. */ - candidate->page = g_object_ref_sink (gtk_vbox_new (FALSE, 6)); + candidate->page = g_object_ref_sink (gtk_box_new (GTK_ORIENTATION_VERTICAL, 6)); gtk_box_pack_start (backend_box, candidate->page, FALSE, FALSE, 0); g_ptr_array_add (config->priv->candidates, candidate); @@ -1014,7 +1014,7 @@ e_source_config_init (ESourceConfig *config) /* The backend box holds backend-specific options. Each backend * gets a child widget. Only one child widget is visible at once. */ - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_box_pack_end (GTK_BOX (config), widget, TRUE, TRUE, 0); config->priv->backend_box = g_object_ref (widget); gtk_widget_show (widget); @@ -1058,7 +1058,7 @@ e_source_config_insert_widget (ESourceConfig *config, else vbox = e_source_config_get_page (config, scratch_source); - hbox = gtk_hbox_new (FALSE, 12); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0); g_object_bind_property ( @@ -1282,7 +1282,7 @@ e_source_config_add_refresh_interval (ESourceConfig *config, container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); |