Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/conf_icon_theme
Modified Files:
e_int_config_icon_themes.c
Log Message:
Update for changes in efreet.
===================================================================
RCS file:
/cvs/e/e17/apps/e/src/modules/conf_icon_theme/e_int_config_icon_themes.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_int_config_icon_themes.c 25 Jul 2007 17:00:50 -0000 1.3
+++ e_int_config_icon_themes.c 26 Jul 2007 11:34:09 -0000 1.4
@@ -179,7 +179,7 @@
theme = l->data;
if (theme->example_icon)
{
- const char *path;
+ char *path;
path = efreet_icon_path_find(theme->name.internal,
theme->example_icon, "24x24");
if (path)
@@ -187,6 +187,7 @@
oc = e_icon_add(evas);
e_icon_file_set(oc, path);
e_icon_fill_inside_set(oc, 1);
+ free(path);
}
}
e_widget_ilist_append(ilist, oc, theme->name.name, NULL, NULL,
theme->name.internal);
@@ -291,7 +292,7 @@
theme = l->data;
if (theme->example_icon)
{
- const char *path;
+ char *path;
path = efreet_icon_path_find(theme->name.internal,
theme->example_icon, "24x24");
if (path)
@@ -299,6 +300,7 @@
oc = e_icon_add(evas);
e_icon_file_set(oc, path);
e_icon_fill_inside_set(oc, 1);
+ free(path);
}
}
e_widget_ilist_append(ilist, oc, theme->name.name, NULL, NULL,
theme->name.internal);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs