diff options
-rw-r--r-- | src/web-view.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/web-view.c b/src/web-view.c index 0b8a26a..e55f726 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -63,8 +63,7 @@ G_DEFINE_TYPE(MqWebView, mq_web_view, WEBKIT_TYPE_WEB_VIEW) static void menu_open_link_activate_cb(GtkAction G_GNUC_UNUSED *action, MqWebView *web_view) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), - webkit_hit_test_result_get_link_uri( + mq_web_view_load_uri(web_view, webkit_hit_test_result_get_link_uri( web_view->hit_test_result)); } @@ -96,8 +95,7 @@ static void menu_open_image_activate_cb(GtkAction G_GNUC_UNUSED *action, MqWebView *web_view) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), - webkit_hit_test_result_get_image_uri( + mq_web_view_load_uri(web_view, webkit_hit_test_result_get_image_uri( web_view->hit_test_result)); } @@ -129,8 +127,7 @@ static void menu_open_video_activate_cb(GtkAction G_GNUC_UNUSED *action, MqWebView *web_view) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), - webkit_hit_test_result_get_media_uri( + mq_web_view_load_uri(web_view, webkit_hit_test_result_get_media_uri( web_view->hit_test_result)); } @@ -162,8 +159,7 @@ static void menu_open_audio_activate_cb(GtkAction G_GNUC_UNUSED *action, MqWebView *web_view) { - webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), - webkit_hit_test_result_get_media_uri( + mq_web_view_load_uri(web_view, webkit_hit_test_result_get_media_uri( web_view->hit_test_result)); } |