~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/extensions.c

  • Committer: Christian Dywan
  • Date: 2013-04-01 15:33:45 UTC
  • Revision ID: git-v1:3b6cfde8306aece485f37e36698eb9153163ef45
Fix unit tests building with WebKit2

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
    g_test_init (&argc, &argv, NULL);
219
219
    midori_app_setup (&argc, &argv, NULL);
220
220
    midori_paths_init (MIDORI_RUNTIME_MODE_NORMAL, NULL);
 
221
    #ifndef HAVE_WEBKIT2
221
222
    soup_session_add_feature_by_type (webkit_get_default_session (),
222
223
        SOUP_TYPE_COOKIE_JAR);
 
224
    #endif
223
225
 
224
226
    g_test_add_func ("/extensions/create", extension_create);
225
227
    g_test_add_func ("/extensions/settings", extension_settings);