aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-14 04:31:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-14 04:31:50 +0800
commit31dc41be3718523052dc3d96cf3b603c68e81b55 (patch)
tree448d132398c6c79594ddc35b1eb7c13bdc1a9a29 /mail/mail-config-druid.c
parentafac6edb53f68a1c1c510eeaa1360c5a34e2e659 (diff)
downloadgsoc2013-evolution-31dc41be3718523052dc3d96cf3b603c68e81b55.tar.gz
gsoc2013-evolution-31dc41be3718523052dc3d96cf3b603c68e81b55.tar.zst
gsoc2013-evolution-31dc41be3718523052dc3d96cf3b603c68e81b55.zip
#include <stdio.h>
2003-02-13 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c: #include <stdio.h> * mail-config-factory.c: #include <string.h> * mail-config-druid.c (identity_prepare): Use gtk_editable_select_region() since gtk_entry_select_region() has been deprecated. (construct): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). (wizard_free): account_destroy() is no longer around, use g_object_unref() instead. (how did this even compile before?) * mail-account-gui.c (mail_account_gui_build_extra_conf): Use gtk_label_set_text_with_mnemonic() instead of gtk_label_parse_uline() as the latter has been deprecated. svn path=/trunk/; revision=19905
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index c7791e3646..15a44b8b69 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -258,7 +258,7 @@ identity_prepare (EvolutionWizard *wizard, gpointer data)
if (!name) {
name = g_get_real_name ();
gtk_entry_set_text (gui->gui->full_name, name ? name : "");
- gtk_entry_select_region (gui->gui->full_name, 0, -1);
+ gtk_editable_select_region (GTK_EDITABLE (gui->gui->full_name), 0, -1);
}
gtk_widget_grab_focus (GTK_WIDGET (gui->gui->full_name));
identity_changed (NULL, data);
@@ -643,7 +643,7 @@ construct (MailConfigDruid *druid)
/* set window title */
gtk_window_set_title (GTK_WINDOW (druid), _("Evolution Account Assistant"));
- gtk_window_set_policy (GTK_WINDOW (druid), FALSE, TRUE, FALSE);
+ gtk_window_set_resizable (GTK_WINDOW (druid), TRUE);
gtk_window_set_modal (GTK_WINDOW (druid), FALSE);
g_object_set (G_OBJECT (druid), "type", GTK_WINDOW_TOPLEVEL, NULL);
@@ -996,7 +996,7 @@ wizard_free (MailConfigWizard *wizard)
mail_account_gui_destroy (wizard->gui);
if (wizard->account)
- account_destroy (wizard->account);
+ g_object_unref (wizard->account);
g_free (wizard);
}