aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-01 12:51:04 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-01 12:51:04 +0800
commit26c91c237c336ddcd05e2c3179a159b18e6f1cfb (patch)
treead2e5ffb51091ee493370b2d51bc6e1be5362ba0 /calendar/pcs
parent8a5a6f0d159014504eef07d1a4439885b5552280 (diff)
downloadgsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.gz
gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.zst
gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.zip
Removed #include "gtkcalendar.h", because it now comes from libgnomeui.
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal.c: Removed #include "gtkcalendar.h", because it now comes from libgnomeui. * Makefile.am (gncal_SOURCES): Added new source files to the rules. svn path=/trunk/; revision=84
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/calobj.c2
-rw-r--r--calendar/pcs/calobj.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index 87dd8db78d..fcdfb7e59d 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -13,7 +13,7 @@ ical_object_new (void)
{
iCalObject *ico;
- ico = g_new0 (iCalObject);
+ ico = g_new0 (iCalObject, 1);
ico->seq = -1;
ico->dtstamp = time (NULL);
diff --git a/calendar/pcs/calobj.h b/calendar/pcs/calobj.h
index fda3a1e4b5..d5f6db0ae0 100644
--- a/calendar/pcs/calobj.h
+++ b/calendar/pcs/calobj.h
@@ -7,6 +7,8 @@
#ifndef CALOBJ_H
#define CALOBJ_H
+#include <libgnome/libgnome.h>
+
BEGIN_GNOME_DECLS
typedef struct {
@@ -42,7 +44,7 @@ typedef struct {
typedef enum {
ICAL_OPAQUE,
ICAL_TRANSPARENT
-};
+} iCalTransp;
typedef char NotYet;
@@ -93,8 +95,8 @@ typedef struct {
iCalObject *ical_new (char *comment, char *organizer, char *summary);
iCalObject *ical_object_new (void);
+void ical_object_destroy (iCalObject *ico);
END_GNOME_DECLS
#endif
-