diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-15 03:08:51 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-15 03:08:51 +0800 |
commit | 8ab84a1ebff365b8138623bc0da1dfec3bc385e5 (patch) | |
tree | 205e9f73cfd3cbbb1c62619b8840209114092034 /calendar/conduits/todo/todo-conduit.c | |
parent | dc5039bf5f71401879555beb6b61d04c5d809af5 (diff) | |
download | gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar.gz gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar.bz2 gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar.lz gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar.xz gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.tar.zst gsoc2013-evolution-8ab84a1ebff365b8138623bc0da1dfec3bc385e5.zip |
Add headers with GPL notice and credit copyright to those appropriate
2000-09-14 JP Rosevear <jpr@helixcode.com>
* Add headers with GPL notice and credit copyright to those
appropriate
* conduits/todo/todo-conduit-control-applet.c (doHelp): Update
name,
authors, copyright for about dialog.
(activate_sync_type): Tidy
* conduits/todo/Makefile.am: Rename binaries and libs to e-todo*
to avoid conflicts.
* conduits/todo/e-todo.conduit.in: Reflect binary/lib name changes
* conduits/todo/e-todo-conduit-control-applet.desktop: ditto
* conduits/todo/todo.conduit.in: Removed
* conduits/todo/todo-conduit-control-applet.desktop: Removed
* conduits/todo/todo-conduit-config.h
(todoconduit_load_configuration):
The config file will now be called e-todo-conduit
(todoconduit_save_configuration): ditto
* conduits/todo/todo-conduit.c: Some renaming to keep consistent.
(pre_sync): Remove commented out function that does not exist.
* conduits/todo/todo-conduit-control-applet.c: ditto
* conduits/todo/todo-conduit-config.h: ditto
* conduits/todo/todo-conduit.h: ditto
svn path=/trunk/; revision=5433
Diffstat (limited to 'calendar/conduits/todo/todo-conduit.c')
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 4ff862ceb6..f1f0e11e28 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -1,4 +1,26 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* Evolution calendar - ToDo Conduit + * + * Copyright (C) 1998 Free Software Foundation + * Copyright (C) 2000 Helix Code, Inc. + * + * Authors: Eskil Heyn Olsen <deity@eskil.dk> + * JP Rosevear <jpr@helixcode.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ #include <config.h> #include <sys/stat.h> @@ -355,7 +377,7 @@ find_record_in_repository(GnomePilotConduitStandardAbs *conduit, char *uid = NULL; EToDoLocalRecord *loc; CalClientGetStatus status; - CalComponent *obj; + CalComponent *comp; g_return_val_if_fail(conduit!=NULL,NULL); g_return_val_if_fail(remote!=NULL,NULL); @@ -368,12 +390,12 @@ find_record_in_repository(GnomePilotConduitStandardAbs *conduit, status = cal_client_get_uid_by_pilot_id (ctxt->client, remote->ID, &uid); if (status == CAL_CLIENT_GET_SUCCESS) { - status = cal_client_get_object (ctxt->client, uid, &obj); + status = cal_client_get_object (ctxt->client, uid, &comp); if (status == CAL_CLIENT_GET_SUCCESS) { - LOG ("found %s\n", cal_component_get_as_string (obj)); + LOG ("found %s\n", cal_component_get_as_string (comp)); loc = g_new0(EToDoLocalRecord,1); /* memory allocated in new_from_string is freed in free_match */ - local_record_from_compobject (loc, obj); + local_record_from_compobject (loc, comp); return loc; } LOG ("Pilot ID found, but comp for uid %s was not\n", uid); @@ -620,8 +642,6 @@ pre_sync (GnomePilotConduit *c, gtk_object_set_data (GTK_OBJECT(c), "dbinfo", dbi); - /* load_records(c); */ - buf = (unsigned char*)g_malloc (0xffff); l = dlp_ReadAppBlock (dbi->pilot_socket, dbi->db_handle, 0, (unsigned char *)buf, 0xffff); |