aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-migrate.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-08 08:37:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-08 08:37:43 +0800
commit5c866713c795795ef46cc90ed95ed7de98152971 (patch)
treee2572bde0adb2e23d35c6ad3390eb7f9e4ce8965 /shell/e-shell-migrate.c
parent6c808496279d6c0e0f8d96fc7491b655f4a679cf (diff)
downloadgsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar.gz
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar.bz2
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar.lz
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar.xz
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.tar.zst
gsoc2013-evolution-5c866713c795795ef46cc90ed95ed7de98152971.zip
Remove ESEvent.
Nudging EPlugin closer to full removal. Nothing in Evolution uses this anymore and 3rd-party plugins should be using EShell's "event::ready-to-start" signal or else GApplication's "startup" signal.
Diffstat (limited to 'shell/e-shell-migrate.c')
-rw-r--r--shell/e-shell-migrate.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index 9d74d156e4..20e96960e4 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -25,7 +25,6 @@
#include <glib/gstdio.h>
#include <libedataserver/libedataserver.h>
-#include "es-event.h"
#include "evo-version.h"
static gboolean
@@ -216,7 +215,6 @@ shell_migrate_ready_to_start_event_cb (EShell *shell)
gboolean
e_shell_migrate_attempt (EShell *shell)
{
- ESEvent *ese;
gint major, minor, micro;
g_return_val_if_fail (E_IS_SHELL (shell), FALSE);
@@ -241,19 +239,6 @@ e_shell_migrate_attempt (EShell *shell)
shell, "event::ready-to-start",
G_CALLBACK (shell_migrate_ready_to_start_event_cb), NULL);
- /* @Event: Shell attempted upgrade
- * @Id: upgrade.done
- * @Target: ESMenuTargetState
- *
- * This event is emitted whenever the shell successfully attempts
- * an upgrade.
- */
- ese = es_event_peek ();
- e_event_emit (
- (EEvent *) ese, "upgrade.done",
- (EEventTarget *) es_event_target_new_upgrade (
- ese, EVO_MAJOR_VERSION, EVO_MINOR_VERSION, EVO_MICRO_VERSION));
-
return TRUE;
}