aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-04-12 07:05:56 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-04-12 07:05:56 +0800
commit045c2a07b9516383deb591fb1e68b2b48ea1bd14 (patch)
treea787d6db99f83915c5eec5cb67260c085b61c0ea /calendar/pcs/cal.c
parent48182f64e86638a5420b3768c13a8ae4d0dbd249 (diff)
downloadgsoc2013-evolution-045c2a07b9516383deb591fb1e68b2b48ea1bd14.tar.gz
gsoc2013-evolution-045c2a07b9516383deb591fb1e68b2b48ea1bd14.tar.zst
gsoc2013-evolution-045c2a07b9516383deb591fb1e68b2b48ea1bd14.zip
new method.
2002-04-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.[ch] (cal_backend_get_query): new method. * pcs/cal-backend-file.c (cal_backend_file_get_query): new method. * pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation instead of calling query_new directly. * pcs/query.[ch]: fixed headers. svn path=/trunk/; revision=16443
Diffstat (limited to 'calendar/pcs/cal.c')
-rw-r--r--calendar/pcs/cal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c
index 9409d20120..2944563163 100644
--- a/calendar/pcs/cal.c
+++ b/calendar/pcs/cal.c
@@ -24,6 +24,7 @@
#include <ical.h>
#include <bonobo/bonobo-exception.h>
#include "cal.h"
+#include "cal-backend.h"
#include "query.h"
#include "wombat.h"
@@ -427,7 +428,7 @@ impl_Cal_get_query (PortableServer_Servant servant,
cal = CAL (bonobo_object_from_servant (servant));
priv = cal->priv;
- query = query_new (priv->backend, ql, sexp);
+ query = cal_backend_get_query (priv->backend, ql, sexp);
if (!query) {
bonobo_exception_set (ev, ex_GNOME_Evolution_Calendar_Cal_CouldNotCreate);
return CORBA_OBJECT_NIL;