summaryrefslogtreecommitdiff
path: root/gtk/gtkfilefilter.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-14 23:34:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-14 23:34:22 -0500
commitc779b42476ef0e33a22c13104b0b9351c370d71c (patch)
treef6bd9f652cdedad52b54168ebbacc69f7261e541 /gtk/gtkfilefilter.c
parente179c65da037a2354cc8db4f824590014ef8bc87 (diff)
downloadgtk+-c779b42476ef0e33a22c13104b0b9351c370d71c.tar.gz
Docs: use // for comments in examples
Without sgml mode, we can't escape /* as /&ast; anymore, so just switch to // for comments in examples.
Diffstat (limited to 'gtk/gtkfilefilter.c')
-rw-r--r--gtk/gtkfilefilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilefilter.c b/gtk/gtkfilefilter.c
index 7311e10bd2..cebc0d119e 100644
--- a/gtk/gtkfilefilter.c
+++ b/gtk/gtkfilefilter.c
@@ -32,7 +32,7 @@
* types; e.g. a filter for text/plain also matches a file with mime
* type application/rtf, since application/rtf is a subclass of
* text/plain. Note that #GtkFileFilter allows wildcards for the
- * subtype of a mime type, so you can e.g. filter for image/&ast;.
+ * subtype of a mime type, so you can e.g. filter for image/\*.
*
* Normally, filters are used by adding them to a #GtkFileChooser,
* see gtk_file_chooser_add_filter(), but it is also possible
@@ -52,7 +52,7 @@
* <object class="GtkFileFilter">
* <mime-types>
* <mime-type>text/plain</mime-type>
- * <mime-type>image/&ast;</mime-type>
+ * <mime-type>image/ *</mime-type>
* </mime-types>
* <patterns>
* <pattern>*.txt</pattern>