~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/properties.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:
87
87
    midori_app_setup (&argc, &argv, NULL);
88
88
    midori_paths_init (MIDORI_RUNTIME_MODE_PRIVATE, NULL);
89
89
 
 
90
    #ifndef HAVE_WEBKIT2
90
91
    g_object_set_data (G_OBJECT (webkit_get_default_session ()),
91
92
                       "midori-session-initialized", (void*)1);
 
93
    #endif
92
94
 
93
95
    g_test_add_data_func ("/properties/app",
94
96
        (gconstpointer)MIDORI_TYPE_APP, properties_type_test);