aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/pcs/cal-factory.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c
index b89d5c450e..6d6c28b889 100644
--- a/calendar/pcs/cal-factory.c
+++ b/calendar/pcs/cal-factory.c
@@ -267,11 +267,10 @@ lookup_backend (CalFactory *factory, GnomeVFSURI *uri)
/* Callback used when a backend loses its last connected client */
static void
-backend_last_client_gone_cb (GtkObject *object, gpointer data)
+backend_last_client_gone_cb (CalBackend *backend, gpointer data)
{
CalFactory *factory;
CalFactoryPrivate *priv;
- CalBackend *backend;
GnomeVFSURI *uri;
gpointer orig_key;
gboolean result;
@@ -282,7 +281,6 @@ backend_last_client_gone_cb (GtkObject *object, gpointer data)
/* Remove the backend from the hash table */
- backend = CAL_BACKEND (object);
uri = cal_backend_get_uri (backend);
g_assert (uri != NULL);