Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : devian

Dir     : e_modules/devian/src/module


Modified Files:
        e_mod_data_picture.c e_mod_data_rss.c e_mod_popup_warn.c 


Log Message:
Fix a segv in Rss, when mouse goes on a news, thanks Elftor for spotting it.
TODO changes and warning--

===================================================================
RCS file: /cvs/e/e_modules/devian/src/module/e_mod_data_picture.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_data_picture.c        2 May 2006 14:24:23 -0000       1.6
+++ e_mod_data_picture.c        12 May 2006 14:30:04 -0000      1.7
@@ -378,7 +378,7 @@
    name[name_l] = '\0';
 
    //return (char *)DEVIANF(ss_utf8_add) (name, 0);
-   return evas_stringshare_add(name);
+   return (char *)evas_stringshare_add(name);
 }
 
 
===================================================================
RCS file: /cvs/e/e_modules/devian/src/module/e_mod_data_rss.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_data_rss.c    2 May 2006 14:24:23 -0000       1.6
+++ e_mod_data_rss.c    12 May 2006 14:30:04 -0000      1.7
@@ -1053,7 +1053,10 @@
         article->new = 0;
         edje_object_message_send(article->obj, EDJE_MESSAGE_INT, 
DEVIAN_DATA_RSS_EDJE_MSG_ITEM_NEW, &article->new);
         if (article->feed->popup_warn)
+       {
           DEVIANF(popup_warn_del) (article->feed->popup_warn);
+         article->feed->popup_warn = NULL;
+       }
      }
 
    article->feed->source->active_article = article;
@@ -1093,6 +1096,10 @@
 static int
 _popup_close(Popup_Warn *popw, void *data)
 {
+   Source_Rss *source;
+   
+   source = popw->devian->source;
+   source->rss_feed->popup_warn = NULL;
    return 1;
 }
 
===================================================================
RCS file: /cvs/e/e_modules/devian/src/module/e_mod_popup_warn.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_popup_warn.c  2 May 2006 14:24:23 -0000       1.5
+++ e_mod_popup_warn.c  12 May 2006 14:30:04 -0000      1.6
@@ -74,14 +74,6 @@
         popw = E_NEW(Popup_Warn, 1);
 
         popw->type = type;
-        popw->name = NULL;
-        popw->pop = NULL;
-        popw->log = NULL;
-        popw->face = NULL;
-        popw->timer = NULL;
-        popw->devian = NULL;
-        popw->func_close = NULL;
-        popw->func_desactivate = NULL;
         popw->timer_org = timer;
 
         zone = e_util_zone_current_get(e_manager_current_get());




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to