aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-memo-shell-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
commit2b8c7c62aa3d172e3530c0570be29dfaac501432 (patch)
tree22c72758fd3e4736946114f9f61ee35e002123d5 /modules/calendar/e-memo-shell-backend.c
parent3184f3d532f7d1aabfcf49a0ba6fef9c6fcbdf5e (diff)
downloadgsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.gz
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.bz2
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.lz
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.xz
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.zst
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.zip
Exit if no command-line URIs are handled.
Diffstat (limited to 'modules/calendar/e-memo-shell-backend.c')
-rw-r--r--modules/calendar/e-memo-shell-backend.c18
1 files changed, 10 insertions, 8 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