summaryrefslogtreecommitdiff
path: root/legacy
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
commit60210567444aa7df95cb712a5aba9b4903edaa96 (patch)
treea766f0ae49823b3cb1762396e9220e40c2849af8 /legacy
parent8676e8e09ae8a2afe700f17ffdaed716fbc3b9e9 (diff)
combobox: fix warning due to change in eo event signature.
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elc_combobox.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/legacy/elementary/src/lib/elc_combobox.c b/legacy/elementary/src/lib/elc_combobox.c
index 9719c13db1..6899543479 100644
--- a/legacy/elementary/src/lib/elc_combobox.c
+++ b/legacy/elementary/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);