'MIDORI_TOUCHSCREEN=0 _build_/default/midori/midori'
+If you want to "dry run" without WebKitGTK+ rendering, try this:
+
+'MIDORI_UNARMED=1 _build_/default/midori/midori'
+
For further information a tutorial for gdb and
reading up on how you can install debugging
symbols for libraries used by Midori are recommended.
}
g_strfreev (active_extensions);
- g_idle_add (midori_load_netscape_plugins, app);
+ if (g_getenv ("MIDORI_UNARMED") == NULL)
+ g_idle_add (midori_load_netscape_plugins, app);
#ifdef G_ENABLE_DEBUG
if (startup_timer)
/* Treat "about:blank" and "" equally, see midori_view_is_blank(). */
if (!uri || !strcmp (uri, "about:blank")) uri = "";
- if (1)
+ if (g_getenv ("MIDORI_UNARMED") == NULL)
{
if (!view->web_view)
midori_view_construct_web_view (view);
g_return_val_if_fail (MIDORI_IS_VIEW (view), NULL);
+ if (!view->web_view)
+ return NULL;
+
web_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view));
js_context = webkit_web_frame_get_global_context (web_frame);
katze_assign (uri, sokoke_js_script_eval (js_context,
g_return_val_if_fail (MIDORI_IS_VIEW (view), NULL);
+ if (!view->web_view)
+ return NULL;
+
web_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view));
js_context = webkit_web_frame_get_global_context (web_frame);
katze_assign (uri, sokoke_js_script_eval (js_context,