[glide] Fix double loading of themes
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] Fix double loading of themes
- Date: Sat, 5 Jun 2010 19:50:55 +0000 (UTC)
commit 1e065e13218a204ff3d3adcb645afa6242cf1378
Author: Robert Carr <racarr Valentine localdomain>
Date: Fri Jun 4 18:12:18 2010 -0400
Fix double loading of themes
libglide/glide-theme-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libglide/glide-theme-manager.c b/libglide/glide-theme-manager.c
index 8d13291..9c1352f 100644
--- a/libglide/glide-theme-manager.c
+++ b/libglide/glide-theme-manager.c
@@ -67,7 +67,7 @@ glide_theme_manager_load_theme (const gchar *theme_path)
else
{
ret = glide_theme_new (theme_path);
- g_hash_table_insert (loaded_themes, (gpointer)theme_path, (gpointer)ret);
+ g_hash_table_insert (loaded_themes, (gpointer)g_strdup (theme_path), (gpointer)ret);
}
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]