aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-memo-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-09 04:50:40 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-09 04:50:40 +0800
commit538b8a736343c38907a2e8dbea3ba496c0d24ee7 (patch)
tree6122ca27c5f96507edad9eecd433c8f80dced502 /calendar/modules/e-memo-shell-view-actions.c
parent2a54f0a220d86b271901697ce938b30c2f3ca41a (diff)
downloadgsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar.gz
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar.bz2
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar.lz
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar.xz
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.tar.zst
gsoc2013-evolution-538b8a736343c38907a2e8dbea3ba496c0d24ee7.zip
Adapt memos to EShellBackend changes.
Diffstat (limited to 'calendar/modules/e-memo-shell-view-actions.c')
-rw-r--r--calendar/modules/e-memo-shell-view-actions.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/modules/e-memo-shell-view-actions.c b/calendar/modules/e-memo-shell-view-actions.c
index d45f74fc38..30dfde6f0e 100644
--- a/calendar/modules/e-memo-shell-view-actions.c
+++ b/calendar/modules/e-memo-shell-view-actions.c
@@ -156,6 +156,7 @@ static void
action_memo_list_delete_cb (GtkAction *action,
EMemoShellView *memo_shell_view)
{
+ EMemoShellBackend *memo_shell_backend;
EMemoShellContent *memo_shell_content;
EMemoShellSidebar *memo_shell_sidebar;
EShellWindow *shell_window;
@@ -174,6 +175,9 @@ action_memo_list_delete_cb (GtkAction *action,
shell_view = E_SHELL_VIEW (memo_shell_view);
shell_window = e_shell_view_get_shell_window (shell_view);
+ memo_shell_backend = memo_shell_view->priv->memo_shell_backend;
+ source_list = e_memo_shell_backend_get_source_list (memo_shell_backend);
+
memo_shell_content = memo_shell_view->priv->memo_shell_content;
memo_table = e_memo_shell_content_get_memo_table (memo_shell_content);
model = e_memo_table_get_model (memo_table);
@@ -214,7 +218,6 @@ action_memo_list_delete_cb (GtkAction *action,
source_group = e_source_peek_group (source);
e_source_group_remove_source (source_group, source);
- source_list = memo_shell_view->priv->source_list;
if (!e_source_list_sync (source_list, &error)) {
g_warning ("%s", error->message);
g_error_free (error);