summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2015-03-19 16:40:18 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2015-03-19 16:47:24 +0900
commitf425f4d381eee14e6dddb13d341b26f3eb0854f5 (patch)
tree359d1c3b1e791514dc2b94fa0ba273e255e7958a
parent0243428f92bcce0327ac22e025cadd6834b779d4 (diff)
elm_widget: fix wrong parmeter.
The parameter what the application gets should Elm_Object_Item. @fix
-rw-r--r--src/lib/elm_widget.c4
-rw-r--r--src/lib/elm_widget.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 39e3c3240..974677e68 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -5119,7 +5119,7 @@ _elm_widget_item_signal_emit(Eo *eo_item EINA_UNUSED,
5119} 5119}
5120 5120
5121EOLIAN static void 5121EOLIAN static void
5122_elm_widget_item_signal_callback_add(Eo *eo_item EINA_UNUSED, 5122_elm_widget_item_signal_callback_add(Eo *eo_item,
5123 Elm_Widget_Item_Data *item, 5123 Elm_Widget_Item_Data *item,
5124 const char *emission, 5124 const char *emission,
5125 const char *source, 5125 const char *source,
@@ -5135,7 +5135,7 @@ _elm_widget_item_signal_callback_add(Eo *eo_item EINA_UNUSED,
5135 wisd = malloc(sizeof(Elm_Widget_Item_Signal_Data)); 5135 wisd = malloc(sizeof(Elm_Widget_Item_Signal_Data));
5136 if (!wisd) return; 5136 if (!wisd) return;
5137 5137
5138 wisd->item = item; 5138 wisd->item = eo_item;
5139 wisd->func = (Elm_Widget_Item_Signal_Cb)func; 5139 wisd->func = (Elm_Widget_Item_Signal_Cb)func;
5140 wisd->data = data; 5140 wisd->data = data;
5141 wisd->emission = eina_stringshare_add(emission); 5141 wisd->emission = eina_stringshare_add(emission);
diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h
index 96a9444e9..a789e2a7d 100644
--- a/src/lib/elm_widget.h
+++ b/src/lib/elm_widget.h
@@ -466,7 +466,7 @@ typedef Evas_Object *(*Elm_Widget_Content_Unset_Cb)(const void *data, c
466typedef void (*Elm_Widget_Signal_Emit_Cb)(void *data, const char *emission, const char *source); 466typedef void (*Elm_Widget_Signal_Emit_Cb)(void *data, const char *emission, const char *source);
467typedef void (*Elm_Widget_Disable_Cb)(void *data); 467typedef void (*Elm_Widget_Disable_Cb)(void *data);
468typedef Eina_Bool (*Elm_Widget_Del_Pre_Cb)(void *data); 468typedef Eina_Bool (*Elm_Widget_Del_Pre_Cb)(void *data);
469typedef void (*Elm_Widget_Item_Signal_Cb)(void *data, Elm_Widget_Item_Data *item, const char *emission, const char *source); 469typedef void (*Elm_Widget_Item_Signal_Cb)(void *data, Elm_Object_Item *item, const char *emission, const char *source);
470typedef void (*Elm_Widget_Style_Set_Cb)(void *data, const char *style); 470typedef void (*Elm_Widget_Style_Set_Cb)(void *data, const char *style);
471typedef const char *(*Elm_Widget_Style_Get_Cb)(const void *data); 471typedef const char *(*Elm_Widget_Style_Get_Cb)(const void *data);
472typedef void (*Elm_Widget_Focus_Set_Cb)(void *data, Eina_Bool focused); 472typedef void (*Elm_Widget_Focus_Set_Cb)(void *data, Eina_Bool focused);
@@ -569,7 +569,7 @@ EINA_DEPRECATED EAPI Elm_Access_Info *_elm_access_object_get(const Evas_Object *
569 569
570struct _Elm_Widget_Item_Signal_Data 570struct _Elm_Widget_Item_Signal_Data
571{ 571{
572 Elm_Widget_Item_Data *item; 572 Elm_Object_Item *item;
573 Elm_Widget_Item_Signal_Cb func; 573 Elm_Widget_Item_Signal_Cb func;
574 const char *emission; 574 const char *emission;
575 const char *source; 575 const char *source;