aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-migrate.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-07 19:21:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-07 19:21:57 +0800
commitcaa862135195b828d2e8355436fdd6eb0ec2443e (patch)
tree40198708ccf89ca4246c7da11a718fa5cc39de52 /shell/e-shell-migrate.c
parent19b29348068e367efc105732e9707cdb4132b4ee (diff)
downloadgsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.tar.gz
gsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.tar.zst
gsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.zip
Convert EShellModule to EShellBackend
Split the GTypeModule loader out of EShellModule as EModule, and rename EShellModule to EShellBackend. Backends (formerly modules) should now subclass EShellBackend. This commit converts EShell but breaks all the shell backends.
Diffstat (limited to 'shell/e-shell-migrate.c')
-rw-r--r--shell/e-shell-migrate.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index aa3e1e0f97..b141ba4c7c 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -53,17 +53,17 @@ shell_migrate_attempt (EShell *shell,
gint minor,
gint micro)
{
- GList *modules;
+ GList *backends;
gboolean success = TRUE;
- modules = e_shell_get_shell_modules (shell);
+ backends = e_shell_get_shell_backends (shell);
- while (success && modules != NULL) {
- EShellModule *shell_module = modules->data;
+ while (success && backends != NULL) {
+ EShellBackend *shell_backend = backends->data;
GError *error = NULL;
- success = e_shell_module_migrate (
- shell_module, major, minor, micro, &error);
+ success = e_shell_backend_migrate (
+ shell_backend, major, minor, micro, &error);
if (error != NULL) {
gint response;
@@ -78,7 +78,7 @@ shell_migrate_attempt (EShell *shell,
g_error_free (error);
}
- modules = g_list_next (modules);
+ backends = g_list_next (backends);
}
return success;