aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-05 01:25:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-05 01:53:01 +0800
commitff397723acca6d1bc6ed38727d07bb8ff32cd0cb (patch)
tree8d44d87d1be953af25fbd713527ef0d5d0e23b45
parent92f8dcce8e331233e64ebeb9c3c241e0777e24bb (diff)
downloadgsoc2013-evolution-EVOLUTION_2_91_0.tar
gsoc2013-evolution-EVOLUTION_2_91_0.tar.gz
gsoc2013-evolution-EVOLUTION_2_91_0.tar.bz2
gsoc2013-evolution-EVOLUTION_2_91_0.tar.lz
gsoc2013-evolution-EVOLUTION_2_91_0.tar.xz
gsoc2013-evolution-EVOLUTION_2_91_0.tar.zst
gsoc2013-evolution-EVOLUTION_2_91_0.zip
Fix distcheck errors.EVOLUTION_2_91_0
-rw-r--r--po/POTFILES.in2
-rw-r--r--shell/test/e-test-shell-view.c8
2 files changed, 7 insertions, 3 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f9d5236dbb..e853975160 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -207,7 +207,7 @@ mail/em-format-html-print.c
mail/em-format-html.c
mail/em-html-stream.c
mail/em-junk.c
-mail/em-subscribe-editor.c
+mail/em-subscription-editor.c
mail/em-sync-stream.c
mail/em-utils.c
mail/em-vfolder-editor.c
diff --git a/shell/test/e-test-shell-view.c b/shell/test/e-test-shell-view.c
index b4464cc68f..4ecda3035c 100644
--- a/shell/test/e-test-shell-view.c
+++ b/shell/test/e-test-shell-view.c
@@ -74,6 +74,7 @@ test_shell_view_constructed (GObject *object)
EShellBackend *shell_backend;
EShellView *shell_view;
EActivity *activity;
+ GCancellable *cancellable;
GtkWidget *widget;
/* Chain up to parent's constructed() method. */
@@ -94,9 +95,12 @@ test_shell_view_constructed (GObject *object)
gtk_container_add (GTK_CONTAINER (shell_sidebar), widget);
gtk_widget_show (widget);
- activity = e_activity_new ("Test Activity");
- e_activity_set_allow_cancel (activity, TRUE);
+ activity = e_activity_new ();
+ cancellable = g_cancellable_new ();
+ e_activity_set_cancellable (activity, cancellable);
+ e_activity_set_primary_text (activity, "Test Activity");
e_shell_backend_add_activity (shell_backend, activity);
+ g_object_unref (cancellable);
priv->activity = activity;
}