Fix warnings about some unused paramaters (This does not cleanup all

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.



SVN revision: 51280
This commit is contained in:
Christopher Michael 2010-08-18 14:44:23 +00:00
parent eded23d2d0
commit 00c661adab
5 changed files with 13 additions and 12 deletions

View 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;
}

View 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 */

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

View 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 */

View 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 */