[empathy] Fix default encoding property



commit f1a3ac9a0e9df3c167bbd61a5d6b4c91e640d747
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  |    2 +-
 libempathy-gtk/empathy-theme-adium.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 1edfc24..6e23657 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -794,7 +794,7 @@ 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",
+        "default-charset", "utf8",
         NULL);
 
   filename = empathy_file_lookup ("empathy-log-window.html", "data");
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]