/pidgin/main: 42dbd9f39583: Fix smiley/inline images rendering i...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Tue Apr 8 13:11:01 EDT 2014
Changeset: 42dbd9f39583fda53c70f1103baeabcecc5138ea
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-04-08 19:10 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/42dbd9f39583
Description:
Fix smiley/inline images rendering in Win32
diffstat:
pidgin/gtkwebview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/pidgin/gtkwebview.c b/pidgin/gtkwebview.c
--- a/pidgin/gtkwebview.c
+++ b/pidgin/gtkwebview.c
@@ -184,7 +184,7 @@ webview_resource_loading(WebKitWebView *
if (img != NULL) {
filename = purple_imgstore_get_filename(img);
if (filename && g_path_is_absolute(filename)) {
- gchar *tmp = g_strdup_printf("file://%s", filename);
+ gchar *tmp = g_filename_to_uri(filename, NULL, NULL);
webkit_network_request_set_uri(request, tmp);
g_free(tmp);
} else {
More information about the Commits
mailing list