aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-08 19:16:47 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-08 19:16:47 +0800
commit47ba0551c17b53fc7423aaefb1fab754ed9f40a3 (patch)
tree22b57724fbce9e11301da6d4ca9ac146389207c3 /calendar/gui
parent6863fb0ca4cc3272d281772a502d5445e7803ec2 (diff)
downloadgsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar.gz
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar.bz2
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar.lz
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar.xz
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.tar.zst
gsoc2013-evolution-47ba0551c17b53fc7423aaefb1fab754ed9f40a3.zip
Bug #594407 - Alarms won't go away
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index ef6e77d386..a8d99590a1 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -656,7 +656,6 @@ remove_comp (ClientAlarms *ca, ECalComponentId *id)
*/
struct _query_msg {
Message header;
- ECal *client;
GList *objects;
gpointer data;
};
@@ -698,14 +697,12 @@ query_objects_changed_async (struct _query_msg *msg)
icaltimezone *zone;
CompQueuedAlarms *cqa;
GList *l;
- ECal *client;
GList *objects;
- client = msg->client;
ca = msg->data;
objects = msg->objects;
- from = config_data_get_last_notification_time (client);
+ from = config_data_get_last_notification_time (ca->client);
if (from == -1)
from = time (NULL);
else
@@ -808,7 +805,6 @@ query_objects_changed_cb (ECal *client, GList *objects, gpointer data)
msg = g_slice_new0 (struct _query_msg);
msg->header.func = (MessageFunc) query_objects_changed_async;
- msg->client = client;
msg->objects = duplicate_ical (objects);
msg->data = data;
@@ -823,10 +819,8 @@ query_objects_removed_async (struct _query_msg *msg)
{
ClientAlarms *ca;
GList *l;
- ECal *client;
GList *objects;
- client = msg->client;
ca = msg->data;
objects = msg->objects;
@@ -852,7 +846,6 @@ query_objects_removed_cb (ECal *client, GList *objects, gpointer data)
msg = g_slice_new0 (struct _query_msg);
msg->header.func = (MessageFunc) query_objects_removed_async;
- msg->client = client;
msg->objects = duplicate_ecal (objects);
msg->data = data;
@@ -1005,12 +998,10 @@ on_dialog_objs_removed_async (struct _query_msg *msg)
const gchar *our_uid;
GList *l;
TrayIconData *tray_data;
- ECal *client;
GList *objects;
d(printf("%s:%d (on_dialog_objs_removed_async)\n",__FILE__, __LINE__));
- client = msg->client;
tray_data = msg->data;
objects = msg->objects;
@@ -1041,7 +1032,6 @@ on_dialog_objs_removed_cb (ECal *client, GList *objects, gpointer data)
msg = g_slice_new0 (struct _query_msg);
msg->header.func = (MessageFunc) on_dialog_objs_removed_async;
- msg->client = client;
msg->objects = objects;
msg->data = data;