]> spindle.queued.net Git - midori/commitdiff
Drop res_root argument from midori_view_load_alternate_string.
authorPaweł Forysiuk <tuxator@o2.pl>
Sun, 7 Aug 2011 10:13:45 +0000 (12:13 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 8 Aug 2011 13:32:48 +0000 (15:32 +0200)
It is never actually used in the function body.

midori/midori-view.c

index 170412681fe0b693a7a539ffca34c90f62afe7c9..1f9a9cef401e4fb91aa6b0e69b87f2ab5fdabbd5 100644 (file)
@@ -1391,7 +1391,6 @@ midori_view_web_view_geolocation_decision_cb (WebKitWebView*                   w
 static void
 midori_view_load_alternate_string (MidoriView*     view,
                                    const gchar*    data,
-                                   const gchar*    res_root,
                                    const gchar*    uri,
                                    WebKitWebFrame* web_frame)
 {
@@ -1441,7 +1440,7 @@ midori_view_display_error (MidoriView*     view,
         g_free (template);
 
         midori_view_load_alternate_string (view,
-            result, res_root, uri, web_frame);
+            result, uri, web_frame);
 
         g_free (res_root);
         g_free (stock_root);
@@ -3866,7 +3865,7 @@ midori_view_set_uri (MidoriView*  view,
                 speeddial_markup = prepare_speed_dial_html (view);
 
             midori_view_load_alternate_string (view,
-                speeddial_markup, "res:/", "about:blank", NULL);
+                speeddial_markup, "about:blank", NULL);
 
             #ifdef G_ENABLE_DEBUG
             if (g_getenv ("MIDORI_STARTTIME") != NULL)