projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdeb120
)
Misusing API.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Mon, 6 Dec 2010 12:45:26 +0000
(12:45 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Mon, 6 Dec 2010 12:45:26 +0000
(12:45 +0000)
SVN revision: 55322
src/bin/config.c
patch
|
blob
|
history
diff --git
a/src/bin/config.c
b/src/bin/config.c
index
d3f627e
..
a51f3c9
100644
(file)
--- a/
src/bin/config.c
+++ b/
src/bin/config.c
@@
-761,14
+761,14
@@
_profile_reset(void *data,
selection = elm_list_item_data_get(elm_list_selected_item_get(li));
curr = elm_profile_current_get();
+ elm_config_save(); /* dump config into old profile's data dir */
+
pdir = elm_profile_dir_get(selection, EINA_TRUE);
if (!pdir)
return;
- elm_config_save(); /* dump config into old profile's data dir */
-
ecore_file_recursive_rm(pdir);
-
free((void *)
pdir);
+
elm_profile_dir_free(
pdir);
elm_config_reload();