aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-prefs.c')
-rw-r--r--mail/em-account-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 7e31d637b3..64ebeaf755 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -566,10 +566,10 @@ em_account_prefs_construct (EMAccountPrefs *prefs)
toplevel = glade_xml_get_widget (gui, "toplevel");
/* reparent */
- gtk_widget_ref (toplevel);
+ g_object_ref (toplevel);
gtk_container_remove (GTK_CONTAINER (toplevel->parent), toplevel);
gtk_container_add (GTK_CONTAINER (prefs), toplevel);
- gtk_widget_unref (toplevel);
+ g_object_unref (toplevel);
widget = glade_xml_get_widget (gui, "etableMailAccounts");