aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-cal-shell-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-cal-shell-backend.c')
-rw-r--r--calendar/modules/e-cal-shell-backend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/modules/e-cal-shell-backend.c b/calendar/modules/e-cal-shell-backend.c
index d5b3ac7725..c6d84f0cf0 100644
--- a/calendar/modules/e-cal-shell-backend.c
+++ b/calendar/modules/e-cal-shell-backend.c
@@ -498,7 +498,7 @@ cal_shell_backend_init_preferences (EShell *shell)
static gboolean
cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
- const gchar *uri)
+ const gchar *uri)
{
/* FIXME */
return FALSE;
@@ -506,14 +506,14 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
static void
cal_shell_backend_window_created_cb (EShellBackend *shell_backend,
- GtkWindow *window)
+ GtkWindow *window)
{
const gchar *backend_name;
if (!E_IS_SHELL_WINDOW (window))
return;
- backend_name = G_TYPE_MODULE (shell_backend)->name;
+ backend_name = E_SHELL_BACKEND_GET_CLASS (shell_backend)->name;
e_shell_window_register_new_item_actions (
E_SHELL_WINDOW (window), backend_name,
@@ -605,11 +605,11 @@ cal_shell_backend_class_init (ECalShellBackendClass *class)
object_class->constructed = cal_shell_backend_constructed;
shell_backend_class = E_SHELL_BACKEND_CLASS (class);
+ shell_backend_class->shell_view_type = E_TYPE_CAL_SHELL_VIEW;
shell_backend_class->name = "calendar";
shell_backend_class->aliases = "";
shell_backend_class->schemes = "calendar";
shell_backend_class->sort_order = 400;
- shell_backend_class->view_type = E_TYPE_CAL_SHELL_VIEW;
shell_backend_class->start = NULL;
shell_backend_class->is_busy = NULL;
shell_backend_class->shutdown = NULL;