diff options
Diffstat (limited to 'src/about/marquee.c')
-rw-r--r-- | src/about/marquee.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/about/marquee.c b/src/about/marquee.c index 70413aa..c076e24 100644 --- a/src/about/marquee.c +++ b/src/about/marquee.c @@ -20,9 +20,11 @@ */ #include <glib.h> +#include <webkit2/webkit2.h> #include "paths.h" #include "../application.h" +#include "../about.h" const gchar *document = "<!doctype html>" @@ -38,8 +40,9 @@ const gchar *document = "</body>" "</html>"; -gchar * -mq_about_marquee_response(MqApplication *application, GHashTable *query) +void +mq_about_marquee_response(MqApplication *application, GHashTable *query, + WebKitURISchemeRequest *request) { if (query && g_hash_table_lookup(query, "toggle")) { if (mq_application_marquee_mode_on(application)) { @@ -49,6 +52,6 @@ mq_about_marquee_response(MqApplication *application, GHashTable *query) } } - return g_strdup_printf(document, - "DANGER", "DO NOT PRESS"); + mq_about_response(request, g_strdup_printf(document, + "DANGER", "DO NOT PRESS")); } |