[evolution/wip-webkit2] Use method instead of getting property
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] Use method instead of getting property
- Date: Tue, 29 Oct 2013 15:10:02 +0000 (UTC)
commit 2ad6d929369e002f5d4426b9186226619614563b
Author: Tomas Popela <tpopela redhat com>
Date: Tue Oct 29 13:53:14 2013 +0100
Use method instead of getting property
e-util/e-web-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 19101fb..0b56d49 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -502,7 +502,7 @@ web_view_context_menu_cb (WebKitWebView *webkit_web_view,
if (hit_test_result == NULL)
return FALSE;
- g_object_get (hit_test_result, "context", &context, NULL);
+ context = webkit_hit_test_result_get_context (hit_test_result);
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE) {
gchar *image_uri = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]