summaryrefslogtreecommitdiffstats
path: root/src/html.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-26 22:20:09 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-26 22:23:48 (EDT)
commit6c1edf4ec1cf1ddab82b597867d9c846267b97ca (patch)
tree88177615f8a0bc461c233af6901696175c056b47 /src/html.h
parentef930b647da141e3c6f46a2f84b6845bf2a72395 (diff)
downloadmarquee-6c1edf4ec1cf1ddab82b597867d9c846267b97ca.zip
marquee-6c1edf4ec1cf1ddab82b597867d9c846267b97ca.tar.gz
marquee-6c1edf4ec1cf1ddab82b597867d9c846267b97ca.tar.bz2
mq_html_h*(), mq_html_p(): Split out *_free() variants
And update calls.
Diffstat (limited to 'src/html.h')
-rw-r--r--src/html.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/html.h b/src/html.h
index 8f5eada..6184683 100644
--- a/src/html.h
+++ b/src/html.h
@@ -29,7 +29,9 @@ mq_html_document(const gchar *title, ...) G_GNUC_NULL_TERMINATED;
#define TEXT_ELEMENT(ELEM) \
gchar * \
- mq_html_##ELEM(GDestroyNotify destroy, gchar *text);
+ mq_html_##ELEM(const gchar *text); \
+ gchar * \
+ mq_html_##ELEM##_free(gchar *text);
TEXT_ELEMENT(h1)
TEXT_ELEMENT(h2)
TEXT_ELEMENT(h3)