Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_exebuf.c Log Message: obj ref problem! fix! =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_exebuf.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_exebuf.c 15 Dec 2005 07:12:00 -0000 1.6 +++ e_exebuf.c 15 Dec 2005 10:17:02 -0000 1.7 @@ -630,6 +630,7 @@ { if (!evas_hash_find(added, a->exe)) { + e_object_ref(E_OBJECT(a)); eap_matches = evas_list_append(eap_matches, a); added = evas_hash_direct_add(added, a->exe, a->exe); } @@ -647,6 +648,7 @@ { if (!evas_hash_find(added, a->exe)) { + e_object_ref(E_OBJECT(a)); eap_matches = evas_list_append(eap_matches, a); added = evas_hash_direct_add(added, a->exe, a->exe); } @@ -665,6 +667,7 @@ { if (!evas_hash_find(added, a->exe)) { + e_object_ref(E_OBJECT(a)); eap_matches = evas_list_append(eap_matches, a); added = evas_hash_direct_add(added, a->exe, a->exe); } @@ -683,6 +686,7 @@ { if (!evas_hash_find(added, a->exe)) { + e_object_ref(E_OBJECT(a)); eap_matches = evas_list_append(eap_matches, a); added = evas_hash_direct_add(added, a->exe, a->exe); } @@ -730,8 +734,6 @@ exe = calloc(1, sizeof(E_Exebuf_Exe)); eaps = evas_list_append(eaps, exe); exe->app = l->data; - /* no this is not a mistake - reference it twice */ - e_object_ref(E_OBJECT(exe->app)); e_object_ref(E_OBJECT(exe->app)); o = edje_object_add(exebuf->evas); exe->bg_object = o; ------------------------------------------------------- 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs