[Commits] [SCM] claws branch, master, updated. 3.15.0-38-gea866a6
ticho at claws-mail.org
ticho at claws-mail.org
Sun Apr 23 20:17:55 CEST 2017
The branch, master has been updated
via ea866a6331ad1d4cbaea6e22ca367a285ba0e7fc (commit)
from f40de0b8b530b05cd49291c0b965fbcaba14c0b5 (commit)
Summary of changes:
src/plugins/fancy/fancy_viewer.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit ea866a6331ad1d4cbaea6e22ca367a285ba0e7fc
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sun Apr 23 20:16:58 2017 +0200
Fix build for webkitgtk versions between 1.5.1 and 1.9.3.
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index 1e29d30..36e2b27 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -853,12 +853,11 @@ static gboolean press_button_cb (WebKitWebView *view, GdkEvent *ev,
FancyViewer *viewer)
{
#if WEBKIT_CHECK_VERSION(1,5,1)
-# if WEBKIT_CHECK_VERSION(1,9,3)
- /* The x and y properties were added in 1.9.3 */
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,
"x", &viewer->click_x, "y", &viewer->click_y,
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list