[gtk+] recentfilter: Fix gcc warnings



commit 83927a61fc503864165de00d0158054d4e90743e
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jan 28 16:42:40 2011 +0100

    recentfilter: Fix gcc warnings
    
    gtkrecentfilter.c:37:47: error: "/*" within comment
    gtkrecentfilter.c:61:24: error: "/*" within comment

 gtk/gtkrecentfilter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrecentfilter.c b/gtk/gtkrecentfilter.c
index 9188f7b..fbdc88c 100644
--- a/gtk/gtkrecentfilter.c
+++ b/gtk/gtkrecentfilter.c
@@ -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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]