[Xfce4-commits] <midori:master> Drop res_root argument from midori_view_load_alternate_string.

Christian Dywan noreply at xfce.org
Mon Aug 8 15:34:03 CEST 2011


Updating branch refs/heads/master
         to 5a0e6099c3137ae0a1463de252b8dd4f59b52af1 (commit)
       from aeef4e4ee3dad8ad36cfd17752da9e0b3c89b32a (commit)

commit 5a0e6099c3137ae0a1463de252b8dd4f59b52af1
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Sun Aug 7 12:13:45 2011 +0200

    Drop res_root argument from midori_view_load_alternate_string.
    
    It is never actually used in the function body.

 midori/midori-view.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 1704126..1f9a9ce 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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)


More information about the Xfce4-commits mailing list