e: Fix warnings

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77304
This commit is contained in:
Mike McCormack 2012-10-02 11:21:17 +00:00 committed by Mike McCormack
parent 6e3110b57b
commit ee8f7529bc
2 changed files with 3 additions and 3 deletions

View File

@ -631,7 +631,7 @@ _e_smart_cb_resize_stop(void *data, Evas_Object *obj __UNUSED__, const char *emi
Evas_Object *mon;
E_Smart_Data *sd;
Evas_Coord ow, oh;
Ecore_X_Randr_Mode_Info *mode;
Ecore_X_Randr_Mode_Info *mode = NULL;
if (!(mon = data)) return;
if (!(sd = evas_object_smart_data_get(mon))) return;

View File

@ -301,7 +301,7 @@ _e_smart_cb_monitor_resized(void *data, Evas_Object *obj, void *event __UNUSED__
/* callback received from the monitor object to let us know that it was
* rotated, and we should adjust position of any adjacent monitors */
static void
_e_smart_cb_monitor_rotated(void *data, Evas_Object *obj, void *event __UNUSED__)
_e_smart_cb_monitor_rotated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
printf("Monitor Rotated\n");
}
@ -309,7 +309,7 @@ _e_smart_cb_monitor_rotated(void *data, Evas_Object *obj, void *event __UNUSED__
/* callback received from the monitor object to let us know that it was
* moved, and we should adjust position of any adjacent monitors */
static void
_e_smart_cb_monitor_moved(void *data, Evas_Object *obj, void *event __UNUSED__)
_e_smart_cb_monitor_moved(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
printf("Monitor Moved\n");
}