aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-event.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-03-01 14:17:20 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-03-01 14:17:20 +0800
commitfc1558ac985ba9b075da93d14b20ff333ce98283 (patch)
treedf7566760e7fd1b235dad4b820e1839e5400bef6 /shell/es-event.c
parent7cb4234412eb57a17875e1d8519dc5312c592040 (diff)
downloadgsoc2013-evolution-fc1558ac985ba9b075da93d14b20ff333ce98283.tar.gz
gsoc2013-evolution-fc1558ac985ba9b075da93d14b20ff333ce98283.tar.zst
gsoc2013-evolution-fc1558ac985ba9b075da93d14b20ff333ce98283.zip
bump version, requires
2005-02-28 JP Rosevear <jpr@novell.com> * configure.in: bump version, requires 2005-02-28 JP Rosevear <jpr@novell.com> * configure.in: add startup wizard plugin 2005-02-28 JP Rosevear <jpr@novell.com> * plugins/Makefile.am: dist standard and experimental plugins * configure.in: move "all" plugins to standard and experimental and default to building the standard set svn path=/trunk/; revision=28927
Diffstat (limited to 'shell/es-event.c')
-rw-r--r--shell/es-event.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/es-event.c b/shell/es-event.c
index c49ce66163..72a05931bd 100644
--- a/shell/es-event.c
+++ b/shell/es-event.c
@@ -129,6 +129,18 @@ es_event_target_new_state(ESEvent *eme, int state)
return t;
}
+ESEventTargetUpgrade *
+es_event_target_new_upgrade(ESEvent *eme, int major, int minor, int revision)
+{
+ ESEventTargetUpgrade *t = e_event_target_new(&eme->event, ES_EVENT_TARGET_UPGRADE, sizeof(*t));
+
+ t->major = major;
+ t->minor = minor;
+ t->revision = revision;
+
+ return t;
+}
+
/* ********************************************************************** */
static void *emeh_parent_class;
@@ -142,6 +154,7 @@ static const EEventHookTargetMask emeh_state_masks[] = {
static const EEventHookTargetMap emeh_targets[] = {
{ "state", ES_EVENT_TARGET_STATE, emeh_state_masks },
+ { "upgrade", ES_EVENT_TARGET_UPGRADE, NULL },
{ 0 }
};