~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/browser.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:
165
165
    midori_app_setup (&argc, &argv, NULL);
166
166
    midori_paths_init (MIDORI_RUNTIME_MODE_NORMAL, NULL);
167
167
 
 
168
    #ifndef HAVE_WEBKIT2
168
169
    g_object_set_data (G_OBJECT (webkit_get_default_session ()),
169
170
                       "midori-session-initialized", (void*)1);
 
171
    #endif
170
172
 
171
173
    g_test_add_func ("/browser/create", browser_create);
172
174
    g_test_add_func ("/browser/tooltips", browser_tooltips);