aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-memo-shell-backend.c18
-rw-r--r--modules/calendar/e-task-shell-backend.c18
2 files changed, 20 insertions, 16 deletions
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c
index 9642528b78..6c6a36491c 100644
--- a/modules/calendar/e-memo-shell-backend.c
+++ b/modules/calendar/e-memo-shell-backend.c
@@ -62,7 +62,7 @@ static gpointer parent_class;
static GType memo_shell_backend_type;
static void
-memo_module_ensure_sources (EShellBackend *shell_backend)
+memo_shell_backend_ensure_sources (EShellBackend *shell_backend)
{
/* XXX This is basically the same algorithm across all modules.
* Maybe we could somehow integrate this into EShellBackend? */
@@ -361,8 +361,8 @@ static GtkActionEntry source_entries[] = {
};
static gboolean
-memo_module_handle_uri_cb (EShellBackend *shell_backend,
- const gchar *uri)
+memo_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
+ const gchar *uri)
{
EShell *shell;
CompEditor *editor;
@@ -500,8 +500,8 @@ exit:
}
static void
-memo_module_window_created_cb (EShellBackend *shell_backend,
- GtkWindow *window)
+memo_shell_backend_window_created_cb (EShellBackend *shell_backend,
+ GtkWindow *window)
{
const gchar *module_name;
@@ -562,15 +562,17 @@ memo_shell_backend_constructed (GObject *object)
shell_backend = E_SHELL_BACKEND (object);
shell = e_shell_backend_get_shell (shell_backend);
- memo_module_ensure_sources (shell_backend);
+ memo_shell_backend_ensure_sources (shell_backend);
g_signal_connect_swapped (
shell, "handle-uri",
- G_CALLBACK (memo_module_handle_uri_cb), shell_backend);
+ G_CALLBACK (memo_shell_backend_handle_uri_cb),
+ shell_backend);
g_signal_connect_swapped (
shell, "window-created",
- G_CALLBACK (memo_module_window_created_cb), shell_backend);
+ G_CALLBACK (memo_shell_backend_window_created_cb),
+ shell_backend);
}
static void
diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c
index 500dd30423..59a87e653c 100644
--- a/modules/calendar/e-task-shell-backend.c
+++ b/modules/calendar/e-task-shell-backend.c
@@ -64,7 +64,7 @@ static gpointer parent_class;
static GType task_shell_backend_type;
static void
-task_module_ensure_sources (EShellBackend *shell_backend)
+task_shell_backend_ensure_sources (EShellBackend *shell_backend)
{
/* XXX This is basically the same algorithm across all modules.
* Maybe we could somehow integrate this into EShellBackend? */
@@ -363,8 +363,8 @@ static GtkActionEntry source_entries[] = {
};
static gboolean
-task_module_handle_uri_cb (EShellBackend *shell_backend,
- const gchar *uri)
+task_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
+ const gchar *uri)
{
EShell *shell;
CompEditor *editor;
@@ -508,8 +508,8 @@ exit:
}
static void
-task_module_window_created_cb (EShellBackend *shell_backend,
- GtkWindow *window)
+task_shell_backend_window_created_cb (EShellBackend *shell_backend,
+ GtkWindow *window)
{
const gchar *module_name;
@@ -570,15 +570,17 @@ task_shell_backend_constructed (GObject *object)
shell_backend = E_SHELL_BACKEND (object);
shell = e_shell_backend_get_shell (shell_backend);
- task_module_ensure_sources (shell_backend);
+ task_shell_backend_ensure_sources (shell_backend);
g_signal_connect_swapped (
shell, "handle-uri",
- G_CALLBACK (task_module_handle_uri_cb), shell_backend);
+ G_CALLBACK (task_shell_backend_handle_uri_cb),
+ shell_backend);
g_signal_connect_swapped (
shell, "window-created",
- G_CALLBACK (task_module_window_created_cb), shell_backend);
+ G_CALLBACK (task_shell_backend_window_created_cb),
+ shell_backend);
}
static void