[elm] warnings, be gone

SVN revision: 71177
This commit is contained in:
Gustavo Lima Chaves 2012-05-16 19:28:07 +00:00
parent e607a807f6
commit 728f4210c2
5 changed files with 10 additions and 8 deletions

View File

@ -198,6 +198,8 @@ _list_item_cb4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
evas_object_move(ctxpopup, x, y);
evas_object_show(ctxpopup);
_print_current_dir(ctxpopup);
(void)it;
}

View File

@ -6,13 +6,13 @@ typedef struct _Elm_Params_Segment_Control
} Elm_Params_Segment_Control;
static void
external_segment_control_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const void *from_params, const void *to_params, float pos __UNUSED__)
external_segment_control_state_set(void *data __UNUSED__,
Evas_Object *obj __UNUSED__,
const void *from_params __UNUSED__,
const void *to_params __UNUSED__,
float pos __UNUSED__)
{
const Elm_Params_Segment_Control *p;
if (to_params) p = to_params;
else if (from_params) p = from_params;
else return;
/* FIXME: no params, no setting */
}
static Eina_Bool

View File

@ -107,7 +107,7 @@ _selection_done(void *data,
evas_object_del(del);
evas_object_smart_callback_call
(ELM_WIDGET_DATA(sd)->obj, SIG_FILE_CHOSEN, file);
(ELM_WIDGET_DATA(sd)->obj, SIG_FILE_CHOSEN, (void *)file);
}
static Evas_Object *

View File

@ -1866,6 +1866,7 @@ _elm_flip_smart_add(Evas_Object *obj)
(obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints_cb, obj);
evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, _on_resize, NULL);
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, _on_move, NULL);
priv->state = EINA_TRUE;
priv->intmode = ELM_FLIP_INTERACTION_NONE;

View File

@ -1,6 +1,5 @@
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_layout.h"
static const char THUMB_SMART_NAME[] = "elm_thumb";