diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-27 22:41:27 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-27 22:41:27 (EDT) |
commit | e71b83ed7ddbc348a1687478786523751705c6a0 (patch) | |
tree | 02cab0ebfc0e0df21c2587b71878efc607da9b48 | |
parent | c7bd9ebe7a48c8033374d8622447d29be8af49f5 (diff) | |
download | marquee-e71b83ed7ddbc348a1687478786523751705c6a0.zip marquee-e71b83ed7ddbc348a1687478786523751705c6a0.tar.gz marquee-e71b83ed7ddbc348a1687478786523751705c6a0.tar.bz2 |
mq_html_input_iframe(): New function
-rw-r--r-- | src/html.c | 6 | ||||
-rw-r--r-- | src/html.h | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -690,3 +690,9 @@ mq_html_input_select(const gchar *name, const gchar *label, return select; } + +gchar * +mq_html_input_iframe(const gchar *src) +{ + return g_strdup_printf("<iframe src=\"%s\"></iframe>", src); +} @@ -82,4 +82,7 @@ mq_html_input_select(const gchar *name, const gchar *label, GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...) G_GNUC_NULL_TERMINATED; +gchar * +mq_html_input_iframe(const gchar *src); + #endif |