summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-10 16:31:02 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-03-10 16:31:02 -0800
commitafb60dcc61cf5ae52ae07a9f205e95ad0bcecf8d (patch)
treec15f7033a0a1eb4dd2bf000099bb49a93e0a4ede
parente88216085927fd75bd27e66fab6067beba9ce35e (diff)
combobox: fix warning due to change in eo event signature.
-rw-r--r--src/lib/elc_combobox.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/lib/elc_combobox.c b/src/lib/elc_combobox.c
index 9719c13db..689954347 100644
--- a/src/lib/elc_combobox.c
+++ b/src/lib/elc_combobox.c
@@ -319,37 +319,29 @@ _elm_combobox_multiple_selection_get(Eo *obj EINA_UNUSED, Elm_Combobox_Data *pd)
319} 319}
320 320
321static Eina_Bool 321static Eina_Bool
322_mbe_clicked_cb(void *data EINA_UNUSED, Eo *obj, 322_mbe_clicked_cb(void *data EINA_UNUSED, const Eo_Event *event)
323 const Eo_Event_Description *desc EINA_UNUSED,
324 void *event_info EINA_UNUSED)
325{ 323{
326 //Unset the multibuttonentry to contracted mode of single line 324 //Unset the multibuttonentry to contracted mode of single line
327 elm_multibuttonentry_expanded_set(obj, EINA_TRUE); 325 elm_multibuttonentry_expanded_set(event->obj, EINA_TRUE);
328 return EINA_TRUE; 326 return EINA_TRUE;
329} 327}
330 328
331static Eina_Bool 329static Eina_Bool
332_mbe_focused_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, 330_mbe_focused_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
333 const Eo_Event_Description *desc EINA_UNUSED,
334 void *event_info EINA_UNUSED)
335{ 331{
336 return EINA_TRUE; 332 return EINA_TRUE;
337} 333}
338 334
339static Eina_Bool 335static Eina_Bool
340_mbe_unfocused_cb(void *data EINA_UNUSED, Eo *obj, 336_mbe_unfocused_cb(void *data EINA_UNUSED, const Eo_Event *event)
341 const Eo_Event_Description *desc EINA_UNUSED,
342 void *event_info EINA_UNUSED)
343{ 337{
344 //Set the multibuttonentry to contracted mode of single line 338 //Set the multibuttonentry to contracted mode of single line
345 elm_multibuttonentry_expanded_set(obj, EINA_FALSE); 339 elm_multibuttonentry_expanded_set(event->obj, EINA_FALSE);
346 return EINA_TRUE; 340 return EINA_TRUE;
347} 341}
348 342
349static Eina_Bool 343static Eina_Bool
350_mbe_item_added(void *data, Eo *obj EINA_UNUSED, 344_mbe_item_added(void *data, const Eo_Event *event EINA_UNUSED)
351 const Eo_Event_Description *desc EINA_UNUSED,
352 void *event_info EINA_UNUSED)
353{ 345{
354 ELM_COMBOBOX_DATA_GET(data, sd); 346 ELM_COMBOBOX_DATA_GET(data, sd);
355 elm_genlist_filter_set(sd->genlist, NULL); 347 elm_genlist_filter_set(sd->genlist, NULL);