/pidgin/main: d35beaf69a32: Documentationliness is next to beard...

Mark Doliner mark at kingant.net
Sat Dec 29 02:37:06 EST 2012


Changeset: d35beaf69a32a72c6a454250d1fff27b7177329d
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2012-12-28 23:36 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/d35beaf69a32

Description:

Documentationliness is next to beardliness.

diffstat:

 pidgin/gtkprefs.c |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (23 lines):

diff --git a/pidgin/gtkprefs.c b/pidgin/gtkprefs.c
--- a/pidgin/gtkprefs.c
+++ b/pidgin/gtkprefs.c
@@ -733,6 +733,19 @@ prefs_themes_init(void)
 	prefs_smiley_themes = gtk_list_store_new(3, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING);
 }
 
+/**
+ * Attempt to load the given directory as a theme.  If we are unable to
+ * open the path as a theme then we recurse into path and attempt to
+ * load each subdirectory that we encounter.
+ *
+ * @param path A directory containing a theme.  The theme could be at the
+ *        top level of this directory or in any subdirectory thereof.
+ * @param type The type of theme to load.  The loader for this theme type
+ *        will be used and this loader will determine what constitutes a
+ *        "theme."
+ *
+ * @return A new reference to a PurpleTheme.
+ */
 static PurpleTheme *
 prefs_theme_find_theme(const gchar *path, const gchar *type)
 {



More information about the Commits mailing list