From 1ecfb7a5aa35a3ccf91486b8292ac6efb5c0d1d0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 01 Oct 2017 05:48:50 -0400 Subject: about:(version): Drop query handling --- (limited to 'src') diff --git a/src/about/version.c b/src/about/version.c index 38eb13a..c033e20 100644 --- a/src/about/version.c +++ b/src/about/version.c @@ -727,28 +727,23 @@ mq_about_version_response(MqApplication __attribute__((unused)) *application, gchar *title; gchar *document; - if (query) { - mq_about_redirect(request, "mq-about:preferences"); - } else { - title = g_strdup_printf("About %s", PACKAGE_NAME); - document = mq_html_document(title, - mq_html_notebook(FALSE, "notebook1", 0, - g_strdup_printf("

%s

%s

" - "

" - "© 2017 Patrick McDermott

", - PACKAGE_NAME, PACKAGE_VERSION_GIT), - "About", - g_strdup("

Authors:

" - "

Patrick McDermott " - "<pj@pehjota.net>

"), - "Credits", - g_strdup(gpl_3_0_html), - "License", - NULL), - NULL); - g_free(title); - mq_about_response(request, document); - } + title = g_strdup_printf("About %s", PACKAGE_NAME); + document = mq_html_document(title, + mq_html_notebook(FALSE, "notebook1", 0, + g_strdup_printf("

%s" + "

%s

" + "

" + "© 2017 Patrick McDermott

", + PACKAGE_NAME, PACKAGE_VERSION_GIT), + "About", + g_strdup("

Authors:

" + "

Patrick McDermott " + "<pj@pehjota.net>

"), + "Credits", + g_strdup(gpl_3_0_html), + "License", + NULL), + NULL); + g_free(title); + mq_about_response(request, document); } -- cgit v0.9.1