Commit 11378763 authored by Morten Welinder's avatar Morten Welinder

Compilation: remove the use of go_url_decode.

Glib's g_uri_unescape_string does the same thing.
parent a9751954
2012-03-16 Morten Welinder <terra@gnome.org>
* dialog-quit.c (url_renderer_func): Use g_uri_unescape_string,
not go_url_decode.
* dialog-hyperlink.c (dhl_set_target_email): Ditto.
2012-03-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* dialog-search.c (dialog_search): only show the expression entry
......
......@@ -229,13 +229,14 @@ dhl_set_target_email (HyperlinkState *state, const char* const target)
subject = strstr (cursor, "?subject=");
if (subject) {
guitext = go_url_decode (subject + strlen ("?subject="));
guitext = g_uri_unescape_string (subject + strlen ("?subject="),
NULL);
gtk_entry_set_text (GTK_ENTRY (w2), guitext);
*subject = '\0';
g_free (guitext);
}
guitext = go_url_decode (cursor);
guitext = g_uri_unescape_string (cursor, NULL);
gtk_entry_set_text (GTK_ENTRY (w), guitext);
......
......@@ -75,7 +75,7 @@ url_renderer_func (GtkTreeViewColumn *tree_column,
shortname = g_filename_display_basename (uri);
}
duri = go_url_decode (uri);
duri = g_uri_unescape_string (uri, NULL);
longname = duri
? g_filename_display_name (duri)
: g_strdup (uri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment