Making elementary compile when safety check is disabled
authorhelen <helen>
Fri, 26 Nov 2010 13:35:33 +0000 (13:35 +0000)
committerhelen <helen@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Nov 2010 13:35:33 +0000 (13:35 +0000)
Removing warnings from Elementary if Eina is with safety checks disabled

SVN revision: 55012

legacy/elementary/src/bin/test_cursor.c
legacy/elementary/src/bin/test_tooltip.c
legacy/elementary/src/lib/elm_flip.c

index 6203a38..f45c552 100644 (file)
@@ -246,7 +246,6 @@ test_cursor2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
    evas_object_smart_callback_add(gl, "expand,request", glt_exp_req, gl);
    evas_object_smart_callback_add(gl, "contract,request", glt_con_req, gl);
    evas_object_smart_callback_add(gl, "expanded", glt_exp, gl);
-   evas_object_smart_callback_add(gl, "clicked", NULL, gl);
    evas_object_smart_callback_add(gl, "contracted", glt_con, gl);
 
    elm_box_pack_end(bx, gl);
index 2dc6927..522162f 100644 (file)
@@ -465,7 +465,6 @@ test_tooltip2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
    evas_object_smart_callback_add(gl, "expand,request", gltt_exp_req, gl);
    evas_object_smart_callback_add(gl, "contract,request", gltt_con_req, gl);
    evas_object_smart_callback_add(gl, "expanded", gltt_exp, gl);
-   evas_object_smart_callback_add(gl, "clicked", NULL, gl);
    evas_object_smart_callback_add(gl, "contracted", gltt_con, gl);
 
    elm_box_pack_end(bx, gl);
index 1c79609..7318bac 100644 (file)
@@ -585,7 +585,7 @@ elm_flip_content_front_unset(Evas_Object *obj)
    if (!wd) return NULL;
    if (!wd->front.content) return NULL;
    Evas_Object *content = wd->front.content;
-   evas_object_clip_set(content, NULL);
+   evas_object_clip_unset(content);
    elm_widget_sub_object_del(obj, content);
    evas_object_smart_member_del(content);
    wd->front.content = NULL;
@@ -610,7 +610,7 @@ elm_flip_content_back_unset(Evas_Object *obj)
    if (!wd) return NULL;
    if (!wd->back.content) return NULL;
    Evas_Object *content = wd->back.content;
-   evas_object_clip_set(content, NULL);
+   evas_object_clip_unset(content);
    elm_widget_sub_object_del(obj, content);
    evas_object_smart_member_del(content);
    wd->back.content = NULL;