diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web-view.c b/src/web-view.c index 0ab0d93..4952ff7 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -124,7 +124,7 @@ menu_open_link_win_activate_cb(GtkAction G_GNUC_UNUSED *action, webkit_hit_test_result_get_link_uri(web_view->hit_test_result), NULL }; - mq_application_add_window(web_view->tab->application, uris); + mq_application_add_window(mq_tab_get_application(web_view->tab), uris); } static void @@ -153,7 +153,7 @@ menu_open_image_win_activate_cb(GtkAction G_GNUC_UNUSED *action, webkit_hit_test_result_get_image_uri(web_view->hit_test_result), NULL }; - mq_application_add_window(web_view->tab->application, uris); + mq_application_add_window(mq_tab_get_application(web_view->tab), uris); } static void @@ -182,7 +182,7 @@ menu_open_video_win_activate_cb(GtkAction G_GNUC_UNUSED *action, webkit_hit_test_result_get_media_uri(web_view->hit_test_result), NULL }; - mq_application_add_window(web_view->tab->application, uris); + mq_application_add_window(mq_tab_get_application(web_view->tab), uris); } static void @@ -211,7 +211,7 @@ menu_open_audio_win_activate_cb(GtkAction G_GNUC_UNUSED *action, webkit_hit_test_result_get_media_uri(web_view->hit_test_result), NULL }; - mq_application_add_window(web_view->tab->application, uris); + mq_application_add_window(mq_tab_get_application(web_view->tab), uris); } #define ITEM_DECLS \ |