aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/todo-conduit-control-applet.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-10-18 03:33:52 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-10-18 03:33:52 +0800
commitf5a84bbd66488aee1502a7aa17c7844f2bef0b4d (patch)
treed6fc5d2a48c34c5979a279de2fae8a088e0fb984 /calendar/conduits/todo/todo-conduit-control-applet.c
parent66492867d6c19d5378ff2b25147b662cf8e528a1 (diff)
downloadgsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar.gz
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar.bz2
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar.lz
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar.xz
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.tar.zst
gsoc2013-evolution-f5a84bbd66488aee1502a7aa17c7844f2bef0b4d.zip
Add defines
2000-10-17 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit-control-applet.c: Add defines * conduits/todo/todo-conduit-config.h: put #ifdefs around functions can't make this a public interface in the usual way as then the symbols would be exported * conduits/todo/todo-conduit.c: Kill warnings. clahey will be happy! Add some defines to include only the necessary config functions. (conduit_get_gpilot_conduit): Hook up archive signals * conduits/calendar/calendar-conduit.c: Same as above * conduits/calendar/calendar-conduit-control-applet.c: ditto * conduits/calendar/calendar-conduit-config.h: ditto svn path=/trunk/; revision=5967
Diffstat (limited to 'calendar/conduits/todo/todo-conduit-control-applet.c')
-rw-r--r--calendar/conduits/todo/todo-conduit-control-applet.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/calendar/conduits/todo/todo-conduit-control-applet.c b/calendar/conduits/todo/todo-conduit-control-applet.c
index c2a8dc16da..7140522b55 100644
--- a/calendar/conduits/todo/todo-conduit-control-applet.c
+++ b/calendar/conduits/todo/todo-conduit-control-applet.c
@@ -32,7 +32,15 @@
#include <gpilotd/gnome-pilot-client.h>
-#include "todo-conduit-config.h"
+#define TODO_CONFIG_LOAD 1
+#define TODO_CONFIG_SAVE 1
+#define TODO_CONFIG_DUPE 1
+#define TODO_CONFIG_DESTROY 1
+#include <todo-conduit-config.h>
+#undef TODO_CONFIG_LOAD
+#undef TODO_CONFIG_SAVE
+#undef TODO_CONFIG_DUPE
+#undef TODO_CONFIG_DESTROY
/* tell changes callbacks to ignore changes or not */
static gboolean ignore_changes=FALSE;
@@ -55,7 +63,6 @@ static void doTrySettings(GtkWidget *widget, EToDoConduitCfg *c);
static void doRevertSettings(GtkWidget *widget, EToDoConduitCfg *c);
static void doSaveSettings(GtkWidget *widget, EToDoConduitCfg *c);
-static void readStateCfg (GtkWidget *w, EToDoConduitCfg *c);
static void setStateCfg (GtkWidget *w, EToDoConduitCfg *c);
gint pilotId;
@@ -193,13 +200,6 @@ setStateCfg (GtkWidget *w, EToDoConduitCfg *c)
ignore_changes = FALSE;
}
-
-static void
-readStateCfg (GtkWidget *w, EToDoConduitCfg *c)
-{
-}
-
-
static void
pilot_capplet_setup(void)
{