[multibuttonentry] remove warning
authorBora Hwang <bora1.hwang@samsung.com>
Sat, 23 Mar 2013 03:14:48 +0000 (12:14 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 28 Mar 2013 02:46:50 +0000 (11:46 +0900)
Change-Id: I05b791d4b61b93b3dadf4eda907114d69a70245e

src/lib/elc_multibuttonentry.c

index 30edb9d..fd9b6be 100644 (file)
@@ -1226,7 +1226,7 @@ static void
 _mouse_up_cb(Elm_Multibuttonentry_Item *it,
              Evas *evas __UNUSED__,
              Evas_Object *obj __UNUSED__,
-             Evas_Event_Mouse_Down *ev)
+             Evas_Event_Mouse_Down *ev __UNUSED__)
 {
    ELM_MULTIBUTTONENTRY_DATA_GET(WIDGET(it), sd);
 
@@ -1326,7 +1326,7 @@ _access_info_cb(void *data, Evas_Object *obj __UNUSED__)
 
    if (!it) return NULL;
 
-   if (!txt)txt = elm_object_item_text_get(it);
+   if (!txt)txt = elm_object_item_text_get((Elm_Object_Item *)it);
    if (txt)
      {
         buf = eina_strbuf_new();
@@ -2311,7 +2311,7 @@ elm_multibuttonentry_items_get(const Evas_Object *obj)
 EAPI Evas_Object *
 elm_multibuttonentry_item_object_get(const Elm_Object_Item *it)
 {
-   ELM_MULTIBUTTONENTRY_ITEM_CHECK_OR_RETURN(it);
+   ELM_MULTIBUTTONENTRY_ITEM_CHECK_OR_RETURN(it, NULL);
 
    return VIEW(it);
 }