summaryrefslogtreecommitdiffstats
path: root/src/html.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.h')
-rw-r--r--src/html.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/html.h b/src/html.h
index b2b3b32..82affa8 100644
--- a/src/html.h
+++ b/src/html.h
@@ -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, ...);