enlightenment-cvs@lists.sourceforge.net wrote:
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : screenshot

Dir     : e_modules/screenshot


Modified Files:
e_mod_main.c

Log Message:
Formatting. EAPI fixes. Should now be possible to use enlightenment_remote to 
set the theme.
===================================================================
- edje_object_file_set(o, PACKAGE_DATA_DIR"/screenshot.edj", "modules/screenshot/main");
+   snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR"/screenshot.edj");
+   if (!e_theme_edje_object_set(o, 
"base/theme/modules/screenshot","modules/screenshot/main"))
+     edje_object_file_set(o, strdup(buff), "modules/screenshot/main");

Why strdup?

Sebastian


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to