nope, it's the second argument that soup_uri_set_path() is complaining about.
diff --git a/midori/main.c b/midori/main.c index f777346..4e71832 100644 --- a/midori/main.c +++ b/midori/main.c @@ -983,7 +983,7 @@ midori_soup_session_settings_accept_language_cb (SoupSession* session, if (stripped_uri != NULL) { gchar* stripped_referer; - soup_uri_set_path (stripped_uri, NULL); + soup_uri_set_path (stripped_uri, ""); soup_uri_set_query (stripped_uri, NULL); stripped_referer = soup_uri_to_string (stripped_uri, FALSE); soup_uri_free (stripped_uri);
nope, it's the second argument that soup_uri_set_path() is complaining about.
diff --git a/midori/main.c b/midori/main.c soup_session_ settings_ accept_ language_ cb (SoupSession* session,
gchar* stripped_referer;
soup_ uri_set_ query (stripped_uri, NULL);
stripped_ referer = soup_uri_to_string (stripped_uri, FALSE);
soup_ uri_free (stripped_uri);
index f777346..4e71832 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -983,7 +983,7 @@ midori_
if (stripped_uri != NULL)
{
- soup_uri_set_path (stripped_uri, NULL);
+ soup_uri_set_path (stripped_uri, "");