aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-06 20:44:37 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-06 20:44:37 +0800
commit9b665c1a82813d17deb3c50d357bc60f13d041dc (patch)
tree00ef1249227c2d5fbb6bdd6cf8c58d5389cd206c /calendar/gui/alarm-notify
parent245d1c200e2d09a77c540f1874d1c0eb31c2dbd3 (diff)
downloadgsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar.gz
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar.bz2
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar.lz
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar.xz
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.tar.zst
gsoc2013-evolution-9b665c1a82813d17deb3c50d357bc60f13d041dc.zip
ref the CalClient. (notify_dialog_cb): unref the CalClient.
2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-queue.c (display_notification): ref the CalClient. (notify_dialog_cb): unref the CalClient. svn path=/trunk/; revision=20186
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index b5644e132f..50a36fe4f1 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -700,6 +700,7 @@ notify_dialog_cb (AlarmNotifyResult result, int snooze_mins, gpointer data)
remove_queued_alarm (c->cqa, c->alarm_id);
g_object_unref (c->comp);
+ g_object_unref (c->client);
g_free (c);
}
@@ -758,6 +759,7 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
c->alarm_id = alarm_id;
c->comp = cal_component_clone (comp);
c->client = c->cqa->parent_client->client;
+ g_object_ref (c->client);
if (!(c->dialog = alarm_notify_dialog (trigger,
qa->instance->occur_start, qa->instance->occur_end,