libpurple/theme-manager.c

branch
soc.2008.themes
changeset 23644
1d7593fc2f5b
parent 23642
ea82d96e4ebd
child 23645
6901039a86fb
equal deleted inserted replaced
23643:4a68ddefa857 23644:1d7593fc2f5b
117 117
118 if (dir) { 118 if (dir) {
119 while ((type = g_strdup(g_dir_read_name (dir)))) { 119 while ((type = g_strdup(g_dir_read_name (dir)))) {
120 if ((loader = g_hash_table_lookup (theme_table, type))){ 120 if ((loader = g_hash_table_lookup (theme_table, type))){
121 121
122 theme_dir = g_strconcat(purple_dir, '/', type, NULL); 122 theme_dir = g_build_filename(purple_dir, type, NULL);
123 purple_theme_manager_add_theme(purple_theme_loader_build(loader, theme_dir)); 123 purple_theme_manager_add_theme(purple_theme_loader_build(loader, theme_dir));
124 124
125 } 125 }
126 g_free(type); 126 g_free(type);
127 127

mercurial