From d3a04cdccc750b4af180fab5be2ec0ffb251c18d Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Fri, 27 Jan 2017 13:12:05 -0600 Subject: 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 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 */ -- cgit v1.2.1