[empathy/webkit2-backport: 2/4] Fix default encoding property
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/webkit2-backport: 2/4] Fix default encoding property
- Date: Fri, 26 May 2017 18:07:18 +0000 (UTC)
commit d3a04cdccc750b4af180fab5be2ec0ffb251c18d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Jan 27 13:12:05 2017 -0600
Fix default encoding property
libempathy-gtk/empathy-log-window.c | 4 ++--
libempathy-gtk/empathy-theme-adium.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index d6b0708..e651ff4 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -794,8 +794,8 @@ empathy_log_window_init (EmpathyLogWindow *self)
G_CALLBACK (events_webview_context_menu), self);
g_object_set (webkit_web_view_get_settings (WEBKIT_WEB_VIEW (self->priv->webview)),
- "default-encoding", "utf8",
- NULL);
+ "default-charset", "utf8",
+ NULL);
filename = empathy_file_lookup ("empathy-log-window.html", "data");
gfile = g_file_new_for_path (filename);
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 9836b82..bee6ef0 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -1616,7 +1616,7 @@ theme_adium_constructed (GObject *object)
}
g_object_set (webkit_web_view_get_settings (webkit_view),
- "default-encoding", "utf8",
+ "default-charset", "utf8",
NULL);
/* Load template */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]