aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-backend.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-01-25 11:17:54 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-25 11:17:54 +0800
commit32ce476a23e9f2757e9cc539532f38f4ab21837c (patch)
tree4a9aeebfe355427fe035d27441b02bbc7be0bc4d /calendar/cal-backend.c
parent50e5c22f0f5c4083ceee623b5bc02a6a7fc4f18c (diff)
downloadgsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.gz
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.bz2
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.lz
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.xz
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.tar.zst
gsoc2013-evolution-32ce476a23e9f2757e9cc539532f38f4ab21837c.zip
Added the gnome-pilot and capplet checks; they will likely be reworked for
2000-01-24 Federico Mena Quintero <federico@helixcode.com> * configure.in: Added the gnome-pilot and capplet checks; they will likely be reworked for the Evolution framework, but for now the calendar/ directory needs them. * configure.in: Added checks for gnome-vfs. 2000-01-24 Federico Mena Quintero <federico@helixcode.com> * tlacuache.c: New main module for the Tlacuache personal calendar server. * tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME personal calendar server. * Makefile.am: Added the stuff necessary to build Tlacuache. * cal.c (Cal_get_uri): Convert the URI to a string before returning it. * cal-factory.c (CalFactory_create): Doh, this function is void. * job.c (job_add): Use g_idle_add(), not gtk_idle_add(). svn path=/trunk/; revision=1623
Diffstat (limited to 'calendar/cal-backend.c')
-rw-r--r--calendar/cal-backend.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/calendar/cal-backend.c b/calendar/cal-backend.c
index 649a1dd8f4..6382d1f592 100644
--- a/calendar/cal-backend.c
+++ b/calendar/cal-backend.c
@@ -21,6 +21,7 @@
#include <config.h>
#include "cal-backend.h"
+#include "calobj.h"
#include "../libversit/vcc.h"
@@ -209,7 +210,7 @@ load_from_vobject (CalBackend *backend, VObject *vobject)
this = nextVObject (&i);
object_name = vObjectName (this);
#if 0
- /* FIXME? What is this used for? */
+ /* FIXME? What is this used for in gnomecal? */
if (strcmp (object_name, VCDCreatedProp) == 0) {
cal->created = time_from_isodate (str_val (this));
continue;
@@ -248,7 +249,7 @@ load_from_vobject (CalBackend *backend, VObject *vobject)
CalBackend *
cal_backend_new (void)
{
- return CAL_BACKEND (gtk_type_new (TYPE_CAL_BACKEND));
+ return CAL_BACKEND (gtk_type_new (CAL_BACKEND_TYPE));
}
/**
@@ -266,7 +267,7 @@ cal_backend_get_uri (CalBackend *backend)
CalBackendPrivate *priv;
g_return_val_if_fail (backend != NULL, NULL);
- g_return_val_if_fail (IS_CAL_BACKEND, NULL);
+ g_return_val_if_fail (IS_CAL_BACKEND (backend), NULL);
priv = backend->priv;
g_return_val_if_fail (priv->loaded, NULL);
@@ -297,7 +298,7 @@ cal_backend_add_cal (CalBackend *backend, Cal *cal)
g_return_if_fail (cal != NULL);
g_return_if_fail (IS_CAL (cal));
- gtk_object_ref (cal);
+ gtk_object_ref (GTK_OBJECT (cal));
priv->clients = g_list_prepend (priv->clients, cal);
}
@@ -328,9 +329,9 @@ cal_backend_remove_cal (CalBackend *backend, Cal *cal)
if (!l)
return;
- gtk_object_unref (cal);
+ gtk_object_unref (GTK_OBJECT (cal));
priv->clients = g_list_remove_link (priv->clients, l);
- g_list_free1 (l);
+ g_list_free_1 (l);
}
/**