[Commits] [SCM] claws branch, master, updated. 3.15.0-40-g0a83c86
ticho at claws-mail.org
ticho at claws-mail.org
Mon Apr 24 07:42:37 CEST 2017
The branch, master has been updated
via 0a83c86dca7e7e2cf68ced12c0d216444cc2f5c3 (commit)
from 3ca5da1a1390b0f3d86c588405ef4425e5d7a137 (commit)
Summary of changes:
src/plugins/fancy/fancy_viewer.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 0a83c86dca7e7e2cf68ced12c0d216444cc2f5c3
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Apr 24 07:42:27 2017 +0200
A fix for a fix in ea866a633.
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index 36e2b27..efdd232 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -856,13 +856,14 @@ static gboolean press_button_cb (WebKitWebView *view, GdkEvent *ev,
gint type;
WebKitHitTestResult *result =
webkit_web_view_get_hit_test_result(view, (GdkEventButton *)ev);
-# if WEBKIT_CHECK_VERSION(1,9,3)
- /* The x and y properties were added in 1.9.3 */
+
g_object_get(G_OBJECT(result),
"context", &type,
+# if WEBKIT_CHECK_VERSION(1,9,3)
"x", &viewer->click_x, "y", &viewer->click_y,
- NULL);
# endif /* 1.9.3 */
+ NULL);
+
if (type & WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION)
return FALSE;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list