Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir     : e_modules/slideshow


Modified Files:
        e_mod_main.c 


Log Message:
Fix Config call for current container. Better trapping
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c        24 Dec 2005 20:19:59 -0000      1.3
+++ e_mod_main.c        30 Dec 2005 14:37:45 -0000      1.4
@@ -145,8 +145,11 @@
    
    s = m->data;
    if (!s) return 0;
+   if (!s->face) return 0;
+   
    con = e_container_current_get(e_manager_current_get());
-   _config_slideshow_module(con, s);
+   if (s->face->con == con) 
+     _config_slideshow_module(con, s);
    return 1;
 }
 




-------------------------------------------------------
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

Reply via email to