diff libpurple/theme-manager.c @ 23463:51bdbab30704

Fixed some warnings with loader_build
author Justin Rodriguez <ffdragon@soc.pidgin.im>
date Tue, 17 Jun 2008 03:26:00 +0000
parents fecc8e2612c4
children 9ffbfbcf307d
line wrap: on
line diff
--- a/libpurple/theme-manager.c	Mon Jun 16 21:43:34 2008 +0000
+++ b/libpurple/theme-manager.c	Tue Jun 17 03:26:00 2008 +0000
@@ -119,7 +119,7 @@
 			while ((type = g_strdup(g_dir_read_name (dir)))) {
 				if ((loader = g_hash_table_lookup (theme_table, type))){
 
-					theme_dir = g_strconcat(purple_dir, '/', type, NULL);
+					theme_dir = g_build_filename(purple_dir, type, NULL);
 					purple_theme_manager_add_theme(purple_theme_loader_build(loader, theme_dir));
 
 				}