]> Pileus Git - ~andy/gtk/commitdiff
Give working examples in the docs. (#330944, John Spray)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 13 Feb 2006 02:31:28 +0000 (02:31 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 13 Feb 2006 02:31:28 +0000 (02:31 +0000)
2006-02-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
examples in the docs.  (#330944, John Spray)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkicontheme.c

index e26c92350b2702f7da080c181bafd0ca834ab510..ddb2739328e3403aa8e2767cd2a30d33df1ec646 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
+       examples in the docs.  (#330944, John Spray)
+
 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
        
        * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
index e26c92350b2702f7da080c181bafd0ca834ab510..ddb2739328e3403aa8e2767cd2a30d33df1ec646 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
+       examples in the docs.  (#330944, John Spray)
+
 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
        
        * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
index 869cc2c70147f47204017afbec0cbd769ea504ff..5dfd6df2f136ed4214e38ff5dee3476c5f2b2aff 100644 (file)
@@ -1589,8 +1589,8 @@ add_key_to_list (gpointer  key,
  * Lists the icons in the current icon theme. Only a subset
  * of the icons can be listed by providing a context string.
  * The set of values for the context string is system dependent,
- * but will typically include such values as 'apps' and
- * 'mimetypes'.
+ * but will typically include such values as "Applications" and
+ * "MimeTypes".
  * 
  * Return value: a #GList list holding the names of all the
  *  icons in the theme. You must first free each element
@@ -2039,8 +2039,9 @@ theme_lookup_icon (IconTheme          *theme,
 }
 
 static void
-theme_list_icons (IconTheme *theme, GHashTable *icons,
-                 GQuark context)
+theme_list_icons (IconTheme  *theme, 
+                 GHashTable *icons,
+                 GQuark      context)
 {
   GList *l = theme->dirs;
   IconThemeDir *dir;