cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=afb60dcc61cf5ae52ae07a9f205e95ad0bcecf8d

commit afb60dcc61cf5ae52ae07a9f205e95ad0bcecf8d
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Mar 10 16:31:02 2016 -0800

    combobox: fix warning due to change in eo event signature.
---
 src/lib/elc_combobox.c | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/src/lib/elc_combobox.c b/src/lib/elc_combobox.c
index 9719c13..6899543 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)
 }
 
 static Eina_Bool
-_mbe_clicked_cb(void *data EINA_UNUSED, Eo *obj,
-                const Eo_Event_Description *desc EINA_UNUSED,
-                void *event_info EINA_UNUSED)
+_mbe_clicked_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    //Unset the multibuttonentry to contracted mode of single line
-   elm_multibuttonentry_expanded_set(obj, EINA_TRUE);
+   elm_multibuttonentry_expanded_set(event->obj, EINA_TRUE);
    return EINA_TRUE;
 }
 
 static Eina_Bool
-_mbe_focused_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED,
-                  const Eo_Event_Description *desc EINA_UNUSED,
-                  void *event_info EINA_UNUSED)
+_mbe_focused_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
 {
    return EINA_TRUE;
 }
 
 static Eina_Bool
-_mbe_unfocused_cb(void *data EINA_UNUSED, Eo *obj,
-                  const Eo_Event_Description *desc EINA_UNUSED,
-                  void *event_info EINA_UNUSED)
+_mbe_unfocused_cb(void *data EINA_UNUSED, const Eo_Event *event)
 {
    //Set the multibuttonentry to contracted mode of single line
-   elm_multibuttonentry_expanded_set(obj, EINA_FALSE);
+   elm_multibuttonentry_expanded_set(event->obj, EINA_FALSE);
    return EINA_TRUE;
 }
 
 static Eina_Bool
-_mbe_item_added(void *data, Eo *obj EINA_UNUSED,
-                  const Eo_Event_Description *desc EINA_UNUSED,
-                  void *event_info EINA_UNUSED)
+_mbe_item_added(void *data, const Eo_Event *event EINA_UNUSED)
 {
    ELM_COMBOBOX_DATA_GET(data, sd);
    elm_genlist_filter_set(sd->genlist, NULL);

-- 


Reply via email to