[evolution-patches] fix for the bug #274406 [calendar]
- From: chenthill <pchenthill novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] fix for the bug #274406 [calendar]
- Date: Tue, 26 Apr 2005 21:55:10 +0530
Hi,
Have attached the fix for the bug.
thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2714
diff -u -p -r1.2714 ChangeLog
--- ChangeLog 18 Apr 2005 14:32:16 -0000 1.2714
+++ ChangeLog 26 Apr 2005 16:23:47 -0000
@@ -1,3 +1,9 @@
+2005-04-26 Chenthill Palanisamy <pchenthill novell com>
+
+ Fixes #274406
+ * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Ref the
+ client before inserting in the hash table.
+
2005-04-18 Chenthill Palanisamy <pchenthill novell com>
Fixes #274476
Index: gui/alarm-notify/alarm-notify.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/alarm-notify.c,v
retrieving revision 1.48
diff -u -p -r1.48 alarm-notify.c
--- gui/alarm-notify/alarm-notify.c 28 Feb 2005 23:38:48 -0000 1.48
+++ gui/alarm-notify/alarm-notify.c 26 Apr 2005 16:23:47 -0000
@@ -352,7 +352,7 @@ alarm_notify_add_calendar (AlarmNotify *
client = auth_new_cal_from_source (source, source_type);
if (client) {
- g_hash_table_insert (priv->uri_client_hash[source_type], g_strdup (str_uri), client);
+ g_hash_table_insert (priv->uri_client_hash[source_type], g_strdup (str_uri), g_object_ref (client));
g_signal_connect (G_OBJECT (client), "cal_opened", G_CALLBACK (cal_opened_cb), an);
e_cal_open_async (client, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]