]> Pileus Git - ~andy/gtk/commitdiff
recentfilter: Fix gcc warnings
authorBenjamin Otte <otte@redhat.com>
Fri, 28 Jan 2011 15:42:40 +0000 (16:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 28 Jan 2011 16:06:07 +0000 (17:06 +0100)
gtkrecentfilter.c:37:47: error: "/*" within comment
gtkrecentfilter.c:61:24: error: "/*" within comment

gtk/gtkrecentfilter.c

index 9188f7b33b96b08cc44a6d4c727db7686ce96d23..fbdc88c333d840f74e261d2c4e85c2c0ce9856e6 100644 (file)
@@ -34,7 +34,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 #GtkRecentFilter allows wildcards for the subtype of a
- * mime type, so you can e.g. filter for image/*.
+ * mime type, so you can e.g. filter for image/<!-- -->*.
  *
  * Normally, filters are used by adding them to a #GtkRecentChooser,
  * see gtk_recent_chooser_add_filter(), but it is also possible to
@@ -58,7 +58,7 @@
  * <object class="GtkRecentFilter">
  *   <mime-types>
  *     <mime-type>text/plain</mime-type>
- *     <mime-type>image/*</mime-type>
+ *     <mime-type>image/png</mime-type>
  *   </mime-types>
  *   <patterns>
  *     <pattern>*.txt</pattern>