diff options
Diffstat (limited to 'src/xwidget.c')
| -rw-r--r-- | src/xwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index e667c4c75fd..89cd859fdfc 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -705,7 +705,8 @@ DEFUN ("xwidget-webkit-get-title", Fxwidget_webkit_get_title, Sxwidget_webkit_g | |||
| 705 | //TODO support multibyte strings | 705 | //TODO support multibyte strings |
| 706 | struct xwidget* xw = XXWIDGET(xwidget); | 706 | struct xwidget* xw = XXWIDGET(xwidget); |
| 707 | const gchar* str=webkit_web_view_get_title( WEBKIT_WEB_VIEW(xw->widget_osr)); | 707 | const gchar* str=webkit_web_view_get_title( WEBKIT_WEB_VIEW(xw->widget_osr)); |
| 708 | return make_string_from_bytes(str, wcslen((const wchar_t *)str), strlen(str)); | 708 | //return make_string_from_bytes(str, wcslen((const wchar_t *)str), strlen(str)); |
| 709 | return build_string(str); | ||
| 709 | } | 710 | } |
| 710 | 711 | ||
| 711 | //TODO missnamed | 712 | //TODO missnamed |