diff options
author | JP Rosevear <jpr@ximian.com> | 2003-11-18 12:24:25 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-11-18 12:24:25 +0800 |
commit | 0931299f2341f04071311f07e8271db19d9ddc7d (patch) | |
tree | 93f115e5f5bbba965368182e643287f14aecc9ba /calendar/gui/calendar-offline-handler.c | |
parent | 0a2c5b0c061ebdfe9837b165d9de7529050c2d76 (diff) | |
download | gsoc2013-evolution-0931299f2341f04071311f07e8271db19d9ddc7d.tar.gz gsoc2013-evolution-0931299f2341f04071311f07e8271db19d9ddc7d.tar.zst gsoc2013-evolution-0931299f2341f04071311f07e8271db19d9ddc7d.zip |
Cleanup some ref/unref calls
2003-11-17 JP Rosevear <jpr@ximian.com>
* Cleanup some ref/unref calls
svn path=/trunk/; revision=23412
Diffstat (limited to 'calendar/gui/calendar-offline-handler.c')
-rw-r--r-- | calendar/gui/calendar-offline-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/calendar-offline-handler.c b/calendar/gui/calendar-offline-handler.c index 231b7aab05..55bca89cc7 100644 --- a/calendar/gui/calendar-offline-handler.c +++ b/calendar/gui/calendar-offline-handler.c @@ -166,7 +166,7 @@ static void backend_cal_opened_online (ECal *client, ECalendarStatus status, gpointer data) { if (status != E_CALENDAR_STATUS_OK) { - g_object_unref (G_OBJECT (client)); + g_object_unref (client); return; } @@ -210,7 +210,7 @@ backend_go_online (gpointer data, gpointer user_data) success = e_cal_open (client, TRUE, &error); if (!success) { g_warning (_("backend_go_online(): %s"), error->message); - g_object_unref (G_OBJECT (client)); + g_object_unref (client); g_error_free (error); return; } |