diff options
Diffstat (limited to 'src/html.h')
-rw-r--r-- | src/html.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -29,9 +29,7 @@ mq_html_document(const gchar *title, ...); #define TEXT_ELEMENT(ELEM) \ gchar * \ - mq_html_##ELEM(gchar *text); \ - gchar * \ - mq_html_##ELEM##_free(gchar *text); + mq_html_##ELEM(GDestroyNotify destroy, gchar *text); TEXT_ELEMENT(h1) TEXT_ELEMENT(h2) TEXT_ELEMENT(h3) @@ -45,10 +43,7 @@ gchar * mq_html_container(const gchar *element, ...); gchar * -mq_html_list(const gchar *type, ...); - -gchar * -mq_html_list_free(const gchar *type, ...); +mq_html_list(const gchar *type, GDestroyNotify destroy, ...); gchar * mq_html_notebook(gboolean vertical, const gchar *name, guint current_page, ...); |