Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_widget_desk_preview.c 


Log Message:
Fix a compiler warning about ecore_event_handlers.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_desk_preview.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_widget_desk_preview.c     20 Oct 2006 03:23:46 -0000      1.5
+++ e_widget_desk_preview.c     13 Nov 2006 22:10:25 -0000      1.6
@@ -32,7 +32,7 @@
 
 static void _e_wid_reconfigure(E_Widget_Data *wd);
 static void _e_wid_desk_cb_menu(void *data, Evas_Object *obj, const char 
*signal, const char *source);
-static void _e_wid_cb_bg_update(void *data, int type, void *event);
+static int  _e_wid_cb_bg_update(void *data, int type, void *event);
 
 static void
 _e_wid_del_hook(Evas_Object *obj)
@@ -264,14 +264,14 @@
    e_int_config_wallpaper_desk(dd->container, dd->zone, dd->x, dd->y);
 }
 
-static void
+static int
 _e_wid_cb_bg_update(void *data, int type, void *event)
 {
    E_Event_Bg_Update *ev;
    E_Widget_Data *wd;
    Evas_List *l;
 
-   if (type != E_EVENT_BG_UPDATE) return;
+   if (type != E_EVENT_BG_UPDATE) return 1;
 
    wd = data;
    ev = event;
@@ -296,4 +296,5 @@
             e_thumb_icon_rethumb(dd->thumb);
          }
      }
+   return 1;
 }



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