Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm_mime.c 


Log Message:
Fix returns for evas_hash_modify (which returns a pointer to the old data,
not a pointer to the hash).

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_mime.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_fm_mime.c 15 Oct 2007 12:35:56 -0000      1.25
+++ e_fm_mime.c 16 Oct 2007 04:10:03 -0000      1.26
@@ -221,7 +221,7 @@
      {
        handlers = evas_list_remove(handlers, handler);
        if (handlers)
-         _mime_handlers = evas_hash_modify(_mime_handlers, mime, handlers);
+         evas_hash_modify(_mime_handlers, mime, handlers);
        else
          _mime_handlers = evas_hash_del(_mime_handlers, mime, handlers);
      }
@@ -240,7 +240,7 @@
      {
        handlers = evas_list_remove(handlers, handler);
        if (handlers)
-         _glob_handlers = evas_hash_modify(_glob_handlers, glob, handlers);
+         evas_hash_modify(_glob_handlers, glob, handlers);
        else
          _glob_handlers = evas_hash_del(_glob_handlers, glob, handlers);
      }



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to