Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_order.c
Log Message:
Update vs. efreet.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_order.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_order.c 25 Mar 2007 10:52:00 -0000 1.8
+++ e_order.c 25 Mar 2007 13:12:23 -0000 1.9
@@ -164,7 +164,7 @@
if (len > 0)
{
Efreet_Desktop *desktop;
- desktop = efreet_util_desktop_by_file_id_get(buf);
+ desktop = efreet_util_desktop_file_id_find(buf);
if (desktop) eo->desktops =
evas_list_append(eo->desktops, desktop);
}
}
@@ -185,7 +185,7 @@
for (l = eo->desktops; l; l = l->next)
{
Efreet_Desktop *desktop;
- char *id;
+ const char *id;
/* TODO: This only allows us to save .desktop files which are in
* the default paths. If it isn't, we should copy it to the users
@@ -194,7 +194,6 @@
id = efreet_util_path_to_file_id(desktop->orig_path);
if (!id) continue;
fprintf(f, "%s\n", id);
- free(id);
}
fclose(f);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs