summaryrefslogtreecommitdiffstats
path: root/src/tab-body.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-27 12:25:12 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-27 12:25:12 (EDT)
commitf4f624f7523a6b7b0c12ce9ad4aa1bd4d27663dc (patch)
tree98eb938203d26044fdf1d7df737fb8300e5a696a /src/tab-body.c
parent38a3a8214e80cf5102ead3e25a10b6495215230d (diff)
downloadmarquee-f4f624f7523a6b7b0c12ce9ad4aa1bd4d27663dc.zip
marquee-f4f624f7523a6b7b0c12ce9ad4aa1bd4d27663dc.tar.gz
marquee-f4f624f7523a6b7b0c12ce9ad4aa1bd4d27663dc.tar.bz2
mq_application_add_window(), mq_window_new(): Make uris const
Diffstat (limited to 'src/tab-body.c')
-rw-r--r--src/tab-body.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 6bf95b1..b69b538 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -51,7 +51,7 @@ static void
menu_open_link_win_activate_cb(GtkAction __attribute__((unused)) *action,
MqTabBody *body)
{
- gchar *uris[2] = {
+ const gchar *uris[2] = {
webkit_hit_test_result_get_link_uri(body->hit_test_result),
NULL
};
@@ -79,7 +79,7 @@ static void
menu_open_image_win_activate_cb(GtkAction __attribute__((unused)) *action,
MqTabBody *body)
{
- gchar *uris[2] = {
+ const gchar *uris[2] = {
webkit_hit_test_result_get_image_uri(body->hit_test_result),
NULL
};
@@ -107,7 +107,7 @@ static void
menu_open_video_win_activate_cb(GtkAction __attribute__((unused)) *action,
MqTabBody *body)
{
- gchar *uris[2] = {
+ const gchar *uris[2] = {
webkit_hit_test_result_get_media_uri(body->hit_test_result),
NULL
};
@@ -135,7 +135,7 @@ static void
menu_open_audio_win_activate_cb(GtkAction __attribute__((unused)) *action,
MqTabBody *body)
{
- gchar *uris[2] = {
+ const gchar *uris[2] = {
webkit_hit_test_result_get_media_uri(body->hit_test_result),
NULL
};