From c6d1cb9d52d8b49874647adec97cd1af67575aa4 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 13:10:25 +0000 Subject: Apply patch evolution-3.28.5-webkitgtk-2.28.patch patch_name: evolution-3.28.5-webkitgtk-2.28.patch present_in_specfile: true --- diff --git a/src/e-util/e-misc-utils.c b/src/e-util/e-misc-utils.c index 3801337..7072f49 100644 --- a/src/e-util/e-misc-utils.c +++ b/src/e-util/e-misc-utils.c @@ -3633,7 +3633,7 @@ e_util_claim_dbus_proxy_call_error (GDBusProxy *dbus_proxy, g_return_if_fail (method_name != NULL); if (in_error && !g_error_matches (in_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning ("Failed to call a DBus Proxy method %s::%s: %s", + printf ("Failed to call a DBus Proxy method %s::%s: %s\n", g_dbus_proxy_get_name (dbus_proxy), method_name, in_error->message); } diff --git a/src/e-util/e-web-view.c b/src/e-util/e-web-view.c index 19a0c02..cbd4976 100644 --- a/src/e-util/e-web-view.c +++ b/src/e-util/e-web-view.c @@ -1221,6 +1221,9 @@ web_view_initialize (WebKitWebView *web_view) g_object_unref (settings); } +static void +web_view_load_uri (EWebView *web_view, + const gchar *uri); static void web_view_constructed (GObject *object) @@ -1265,6 +1268,9 @@ web_view_constructed (GObject *object) web_view_initialize (WEBKIT_WEB_VIEW (object)); web_view_set_find_controller (E_WEB_VIEW (object)); + + /* Initialize the WebPage content for WebKitGTK 2.28 */ + web_view_load_uri (E_WEB_VIEW (object), NULL); } static void