Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir     : e17/proto/epdf/src/lib


Modified Files:
        ewl_pdf.h ewl_pdf.c 


Log Message:
use the new canvas api of ewl

===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/lib/ewl_pdf.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_pdf.h   30 Sep 2006 23:01:43 -0000      1.7
+++ ewl_pdf.h   12 Feb 2007 14:02:40 -0000      1.8
@@ -39,7 +39,7 @@
 struct Ewl_Pdf
 {
        Ewl_Widget            widget;
-       Evas_Object          *image;
+       void                 *image;
        char                 *filename;
        int                   ow;
        int                   oh;
@@ -54,7 +54,7 @@
        double                vscale;
 
        struct {
-               Evas_Object *o;
+               void        *o;
                char        *text;
                Ecore_List  *list;
                int          page;
===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/lib/ewl_pdf.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_pdf.c   30 Sep 2006 23:01:43 -0000      1.8
+++ ewl_pdf.c   12 Feb 2007 14:02:40 -0000      1.9
@@ -324,7 +324,7 @@
                 Ewl_Embed *emb;
 
                 emb = ewl_embed_widget_find(EWL_WIDGET (pdf));
-                pdf->search.o = evas_object_rectangle_add(emb->evas);
+                pdf->search.o = evas_object_rectangle_add(emb->canvas);
                 if (!pdf->search.o)
                         DRETURN_INT(FALSE, DLEVEL_STABLE);
                 evas_object_color_set(pdf->search.o, 0, 128, 0, 128);
@@ -579,7 +579,7 @@
        if (!pdf->image)
          pdf->image = ewl_embed_object_request(emb, "pdf");
        if (!pdf->image)
-         pdf->image = evas_object_image_add(emb->evas);
+         pdf->image = evas_object_image_add(emb->canvas);
        if (!pdf->image)
          DRETURN(DLEVEL_STABLE);
 



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