summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.c6
-rw-r--r--src/html.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 6781a7f..917e04a 100644
--- a/src/html.c
+++ b/src/html.c
@@ -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);
+}
diff --git a/src/html.h b/src/html.h
index 6184683..92fe2ea 100644
--- a/src/html.h
+++ b/src/html.h
@@ -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