Enlightenment CVS committal Author : sebastid Project : misc Module : enotes
Dir : misc/enotes/src Modified Files: controlcentre.c note.c Log Message: Use ecore_evas functions =================================================================== RCS file: /cvsroot/enlightenment/misc/enotes/src/controlcentre.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- controlcentre.c 10 Sep 2005 21:06:13 -0000 1.21 +++ controlcentre.c 20 Sep 2005 18:22:29 -0000 1.22 @@ -87,12 +87,7 @@ // if(main_config->ontop==1) /* Moving the damn thing */ - if (!strcmp(main_config->render_method, "gl")) - ecore_x_window_move(ecore_evas_gl_x11_window_get(cc->win), - pos->x, pos->y); - else - ecore_x_window_move(ecore_evas_software_x11_window_get(cc->win), - pos->x, pos->y); + ecore_evas_move(cc->win, pos->x, pos->y); /* Setup the Canvas, Render-Method and Font Path */ cc->evas = ecore_evas_get(cc->win); =================================================================== RCS file: /cvsroot/enlightenment/misc/enotes/src/note.c,v retrieving revision 1.51 retrieving revision 1.52 diff -u -3 -r1.51 -r1.52 --- note.c 13 Sep 2005 08:44:37 -0000 1.51 +++ note.c 20 Sep 2005 18:22:29 -0000 1.52 @@ -180,12 +180,7 @@ /* Move the damn thing */ - if (!strcmp(main_config->render_method, "gl")) - ecore_x_window_move(ecore_evas_gl_x11_window_get(p->win), - x, y); - else - ecore_x_window_move(ecore_evas_software_x11_window_get(p->win), - x, y); + ecore_evas_move(p->win, x, y); /* Setup the Canvas, fonts, etc... */ p->evas = ecore_evas_get(p->win); ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs