Evas text/textblock: Fixed warnings when frame_quening is on.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 May 2011 10:55:35 +0000 (10:55 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 May 2011 10:55:35 +0000 (10:55 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59809 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_text.c

index e0463c6..b370eb2 100644 (file)
@@ -369,7 +369,7 @@ evas_object_text_font_set(Evas_Object *obj, const char *font, Evas_Font_Size siz
 
 #ifdef EVAS_FRAME_QUEUING
    if (o->font)
-      evas_common_pipe_op_text_flush(o->font);
+      evas_common_pipe_op_text_flush((RGBA_Font *) o->font);
 #endif
 
    /* DO IT */
@@ -2050,7 +2050,7 @@ _evas_object_text_rehint(Evas_Object *obj)
    o = (Evas_Object_Text *)(obj->object_data);
    if (!o->font) return;
 #ifdef EVAS_FRAME_QUEUING
-   evas_common_pipe_op_text_flush(o->font);
+   evas_common_pipe_op_text_flush((RGBA_Font *) o->font);
 #endif
    evas_font_load_hinting_set(obj->layer->evas, o->font,
                              obj->layer->evas->hinting);