diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-12 02:39:40 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-12 02:39:40 (EDT) |
commit | 4482ee54dd3961732b07549f4a9471bf8422ed4c (patch) | |
tree | 3a5319188a1dd92a2908a109e89eaf0e22f73bf1 /src | |
parent | 1c41dbf83c91c5b2b6443000dfbe0e2b02d23a50 (diff) | |
download | marquee-4482ee54dd3961732b07549f4a9471bf8422ed4c.zip marquee-4482ee54dd3961732b07549f4a9471bf8422ed4c.tar.gz marquee-4482ee54dd3961732b07549f4a9471bf8422ed4c.tar.bz2 |
MqWebView: Don't directly access MqTab struct member
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 \ |