diff pidgin/gtkicon-loader.c @ 23701:b37ccfd1697b

Changed PurpleTheme build function to only return PurpleTheme*
author Justin Rodriguez <ffdragon@soc.pidgin.im>
date Sun, 10 Aug 2008 03:27:12 +0000
parents 0bbfb20bad19
children 9525fb966efb
line wrap: on
line diff
--- a/pidgin/gtkicon-loader.c	Sun Aug 10 02:36:00 2008 +0000
+++ b/pidgin/gtkicon-loader.c	Sun Aug 10 03:27:12 2008 +0000
@@ -34,7 +34,7 @@
  * Sound Theme Builder                                                      
  *****************************************************************************/
 
-static gpointer
+static PurpleTheme *
 pidgin_icon_loader_build(const gchar *dir)
 {
 	xmlnode *root_node, *sub_node;
@@ -84,7 +84,7 @@
 	g_dir_close(gdir);
 	g_free(filename_full);
 	g_free(data);
-	return theme;
+	return PURPLE_THEME(theme);
 }
 
 /******************************************************************************