Fix distcheck errors.

This commit is contained in:
Matthew Barnes
2010-10-04 13:25:15 -04:00
parent 92f8dcce8e
commit ff397723ac
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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;
}