Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src
Modified Files:
entropy_config.c entropy_core.c
Log Message:
* More incremental core reference removal
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- entropy_config.c 27 Oct 2005 07:16:35 -0000 1.2
+++ entropy_config.c 21 Nov 2005 11:50:54 -0000 1.3
@@ -11,9 +11,9 @@
struct stat config_dir_stat;
int i;
- i = strlen(entropy_core_home_dir_get(core) +
strlen("/.e/apps/entropy"));
+ i = strlen(entropy_core_home_dir_get() + strlen("/.e/apps/entropy"));
config->config_dir = entropy_malloc(i * sizeof(char));
- snprintf(config->config_dir, i, "%s/%s",
entropy_core_home_dir_get(core), "/.e/apps/entropy");
+ snprintf(config->config_dir, i, "%s/%s", entropy_core_home_dir_get(),
"/.e/apps/entropy");
config->config_dir_and_file =
entropy_malloc((strlen(config->config_dir) * sizeof(char)) + (13 *
sizeof(char)));
snprintf(config->config_dir_and_file, strlen(config->config_dir) + 13,
"%s/%s", config->config_dir, "entropy.cfg");
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- entropy_core.c 21 Nov 2005 11:07:01 -0000 1.23
+++ entropy_core.c 21 Nov 2005 11:50:54 -0000 1.24
@@ -551,9 +551,9 @@
}
/*Register a component to get events created by others in the same layout
container*/
-void entropy_core_component_event_register(entropy_core* core,
entropy_gui_component_instance* comp, char* event) {
+void entropy_core_component_event_register(entropy_gui_component_instance*
comp, char* event) {
/*First we have to see if this layout is currently registered with the
core..*/
- Ecore_Hash* event_hash = ecore_hash_get(core->layout_gui_events,
comp->layout_parent);
+ Ecore_Hash* event_hash = ecore_hash_get(core_core->layout_gui_events,
comp->layout_parent);
//printf(" * Registering a component...\n");
@@ -979,12 +979,12 @@
-char* entropy_core_home_dir_get(entropy_core* core) {
- return core->user_home_dir;
+char* entropy_core_home_dir_get() {
+ return core_core->user_home_dir;
}
-char* entropy_thumbnail_dir_get(entropy_core* core) {
- return core->thumbnail_path;
+char* entropy_thumbnail_dir_get() {
+ return core_core->thumbnail_path;
}
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs