aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-09-07 10:58:08 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-07 10:58:08 +0800
commit40be5aa2abf0aa471f32122f4a9028922f94090d (patch)
tree427c3e4b637ba7a51cafbfa84103b1649589af18
parentdf67e4e802d55da255b41f239055344f2d3741b6 (diff)
downloadgsoc2013-evolution-40be5aa2abf0aa471f32122f4a9028922f94090d.tar.gz
gsoc2013-evolution-40be5aa2abf0aa471f32122f4a9028922f94090d.tar.zst
gsoc2013-evolution-40be5aa2abf0aa471f32122f4a9028922f94090d.zip
Fixed the bug reported about the mail notification not beint sent until
1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (mail_notify): Fixed the bug reported about the mail notification not beint sent until the program was terminated. svn path=/trunk/; revision=363
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gnome-cal.c3
-rw-r--r--calendar/gui/gnome-cal.c3
3 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 5aa30085cc..1f95a264c3 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
+
+ * gnome-cal.c (mail_notify): Fixed the bug reported about the mail
+ notification not beint sent until the program was terminated.
+
1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-full-day.c (gncal_full_day_forall): Updated foreach ->
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c
index 9f34a6277a..2a2635f178 100644
--- a/calendar/gnome-cal.c
+++ b/calendar/gnome-cal.c
@@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
"Subject: ", _("Reminder of your appointment at "),
ctime (&app_time), "\n\n", text, "\n", NULL);
write (p [1], command, strlen (command));
-
+ close (p [1]);
+ close (p [0]);
g_free (command);
}
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 9f34a6277a..2a2635f178 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
"Subject: ", _("Reminder of your appointment at "),
ctime (&app_time), "\n\n", text, "\n", NULL);
write (p [1], command, strlen (command));
-
+ close (p [1]);
+ close (p [0]);
g_free (command);
}