From 869e169990dec235253d1950d0cbb7cd250c6097 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 05 Nov 2017 14:43:30 -0500 Subject: about:(version), about:preferences: Update mq_html_document() calls --- diff --git a/src/schemes/about/preferences.c b/src/schemes/about/preferences.c index 59ac9c6..ee6f0e6 100644 --- a/src/schemes/about/preferences.c +++ b/src/schemes/about/preferences.c @@ -242,7 +242,7 @@ mq_about_preferences_response(MqApplication *application, GHashTable *query, mq_config_save(config); mq_about_redirect(request, "mq-about:preferences"); } else { - document = mq_html_document("Preferences", + document = mq_html_document("Preferences", NULL, mq_html_form(NULL, "Save", NULL, "Cancel", mq_html_notebook(FALSE, "notebook1", 0, gen_page_general(config), diff --git a/src/schemes/about/version.c b/src/schemes/about/version.c index 5d69cd1..f508d6d 100644 --- a/src/schemes/about/version.c +++ b/src/schemes/about/version.c @@ -43,7 +43,7 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, gchar *document; title = g_strdup_printf("About %s", PACKAGE_NAME); - document = mq_html_document(title, + document = mq_html_document(title, NULL, mq_html_notebook(FALSE, "notebook1", 0, mq_html_container("div", NULL, mq_html_h3(PACKAGE_NAME), -- cgit v0.9.1