Fix warnings about some unused paramaters (This does not cleanup all
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 18 Aug 2010 14:44:23 +0000 (14:44 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 18 Aug 2010 14:44:23 +0000 (14:44 +0000)
the warnings, just the ones which were Obviously not used).

Evas_Object_Text.c: Fix big ole nasty oopsie in the declaration of
object_func: Was missing a NULL for can_map.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@51280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_image.c
src/lib/canvas/evas_object_line.c
src/lib/canvas/evas_object_main.c
src/lib/canvas/evas_object_polygon.c
src/lib/canvas/evas_object_text.c

index 740c512..5c02364 100644 (file)
@@ -3147,7 +3147,7 @@ evas_object_image_get_opaque_rect(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y
 }
 
 static int
-evas_object_image_can_map(Evas_Object *obj)
+evas_object_image_can_map(Evas_Object *obj __UNUSED__)
 {
    return 1;
 }
index 39f0acf..11a2f1e 100644 (file)
@@ -440,7 +440,7 @@ static void *evas_object_line_engine_data_get(Evas_Object *obj)
 }
 
 static int
-evas_object_line_is_opaque(Evas_Object *obj)
+evas_object_line_is_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object is */
    /* currently fully opaque over the entire line it occupies */
@@ -448,7 +448,7 @@ evas_object_line_is_opaque(Evas_Object *obj)
 }
 
 static int
-evas_object_line_was_opaque(Evas_Object *obj)
+evas_object_line_was_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object was */
    /* previously fully opaque over the entire line it occupies */
@@ -456,7 +456,7 @@ evas_object_line_was_opaque(Evas_Object *obj)
 }
 
 static int
-evas_object_line_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
+evas_object_line_is_inside(Evas_Object *obj __UNUSED__, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
 {
    /* this returns 1 if the canvas co-ordinates are inside the object based */
    /* on object private data. not much use for rects, but for polys, images */
@@ -465,7 +465,7 @@ evas_object_line_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord
 }
 
 static int
-evas_object_line_was_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
+evas_object_line_was_inside(Evas_Object *obj __UNUSED__, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
 {
    /* this returns 1 if the canvas co-ordinates were inside the object based */
    /* on object private data. not much use for rects, but for polys, images */
index 1cbb9aa..a43d204 100644 (file)
@@ -35,7 +35,7 @@ get_layer_objects(Evas_Layer *l)
 
 /* evas internal stuff */
 Evas_Object *
-evas_object_new(Evas *e)
+evas_object_new(Evas *e __UNUSED__)
 {
    Evas_Object *obj;
 
index 43a85f8..19cc36d 100644 (file)
@@ -480,7 +480,7 @@ static void *evas_object_polygon_engine_data_get(Evas_Object *obj)
 }
 
 static int
-evas_object_polygon_is_opaque(Evas_Object *obj)
+evas_object_polygon_is_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object is */
    /* currently fully opaque over the entire line it occupies */
@@ -488,7 +488,7 @@ evas_object_polygon_is_opaque(Evas_Object *obj)
 }
 
 static int
-evas_object_polygon_was_opaque(Evas_Object *obj)
+evas_object_polygon_was_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object was */
    /* previously fully opaque over the entire line it occupies */
@@ -496,7 +496,7 @@ evas_object_polygon_was_opaque(Evas_Object *obj)
 }
 
 static int
-evas_object_polygon_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
+evas_object_polygon_is_inside(Evas_Object *obj __UNUSED__, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
 {
    /* this returns 1 if the canvas co-ordinates are inside the object based */
    /* on object private data. not much use for rects, but for polys, images */
@@ -505,7 +505,7 @@ evas_object_polygon_is_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Co
 }
 
 static int
-evas_object_polygon_was_inside(Evas_Object *obj, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
+evas_object_polygon_was_inside(Evas_Object *obj __UNUSED__, Evas_Coord x __UNUSED__, Evas_Coord y __UNUSED__)
 {
    /* this returns 1 if the canvas co-ordinates were inside the object based */
    /* on object private data. not much use for rects, but for polys, images */
index 2ce8c8a..e56186e 100644 (file)
@@ -77,6 +77,7 @@ static const Evas_Object_Func object_func =
      NULL,
      evas_object_text_scale_update,
      NULL,
+     NULL, 
      NULL
 };
 
@@ -1849,7 +1850,7 @@ evas_object_text_engine_data_get(Evas_Object *obj)
 }
 
 static int
-evas_object_text_is_opaque(Evas_Object *obj)
+evas_object_text_is_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object is 
     currently fully opaque over the entire gradient it occupies */
@@ -1857,7 +1858,7 @@ evas_object_text_is_opaque(Evas_Object *obj)
 }
 
 static int
-evas_object_text_was_opaque(Evas_Object *obj)
+evas_object_text_was_opaque(Evas_Object *obj __UNUSED__)
 {
    /* this returns 1 if the internal object data implies that the object was
     currently fully opaque over the entire gradient it occupies */