summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/about.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index 96ec4be..e21fa9e 100644
--- a/src/about.c
+++ b/src/about.c
@@ -78,6 +78,15 @@ mq_about_request(WebKitURISchemeRequest *request, MqApplication *application)
}
if (g_strcmp0(path, "marquee") == 0) {
- mq_about_marquee_response(application, query);
+ contents = mq_about_marquee_response(application, query);
+ stream_length = strlen(contents);
+ stream = g_memory_input_stream_new_from_data(contents,
+ stream_length, g_free);
+ } else {
+ return;
}
+
+ webkit_uri_scheme_request_finish(request, stream, stream_length,
+ "text/html");
+ g_object_unref(stream);
}