aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index 648959c838..b60788b20f 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -54,7 +54,7 @@ static gboolean on_timezone_dialog_delete_event (GnomeDialog *dialog,
static void
do_cleanup (void)
{
- gtk_object_unref (GTK_OBJECT (config));
+ g_object_unref (config);
config = NULL;
}
@@ -689,7 +689,7 @@ on_timezone_set (GnomeDialog *dialog,
e_tasks_update_all_config_settings ();
}
- gtk_object_unref (GTK_OBJECT (etd));
+ g_object_unref (etd);
}
@@ -698,7 +698,7 @@ on_timezone_dialog_delete_event (GnomeDialog *dialog,
GdkEvent *event,
ETimezoneDialog *etd)
{
- gtk_object_unref (GTK_OBJECT (etd));
+ g_object_unref (etd);
return TRUE;
}