Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : erss

Dir     : misc/erss/src


Modified Files:
        gui.c 


Log Message:
updated for new ecore_x cursor api
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/gui.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- gui.c       25 Apr 2004 19:42:59 -0000      1.7
+++ gui.c       26 Aug 2004 08:30:11 -0000      1.8
@@ -112,11 +112,14 @@
                                         void *event_info)
 {
        Ecore_X_Window win;
+       Ecore_X_Cursor c;
        Erss_Feed *f = (Erss_Feed *) data;
 
        win = ecore_evas_software_x11_window_get(ee);
-       if ((f != NULL) && (f->cfg->item_url != NULL))
-               ecore_x_cursor_shape_set(win, ECORE_X_CURSOR_HAND2);
+       if ((f != NULL) && (f->cfg->item_url != NULL)) {
+               c = ecore_x_cursor_shape_get(ECORE_X_CURSOR_HAND2);
+               ecore_x_window_cursor_set(win, c);
+       }
 }
 
 static void erss_mouse_out_cursor_change (void *data, Evas *e,
@@ -125,7 +128,7 @@
        Ecore_X_Window win;
   
        win = ecore_evas_software_x11_window_get(ee);
-       ecore_x_cursor_set(win, 0);
+       ecore_x_window_cursor_set(win, 0);
 }
 
 




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to