summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2017-01-27 13:12:05 -0600
committerFederico Mena Quintero <federico@gnome.org>2017-05-26 12:57:41 -0500
commitd3a04cdccc750b4af180fab5be2ec0ffb251c18d (patch)
tree517ab8ae3427bb5a47718b103e02e98d40c97ad3
parent01f753fa5768f854695f57e1e920fe2d342c21e0 (diff)
downloadempathy-d3a04cdccc750b4af180fab5be2ec0ffb251c18d.tar.gz
Fix default encoding property
-rw-r--r--libempathy-gtk/empathy-log-window.c4
-rw-r--r--libempathy-gtk/empathy-theme-adium.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index d6b0708d5..e651ff46d 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 9836b82ce..bee6ef062 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 */