elc_multibuttonentry: fix the invalid return value 32/189832/2
authorTaehyub Kim <taehyub.kim@samsung.com>
Fri, 21 Sep 2018 04:26:26 +0000 (13:26 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 21 Sep 2018 05:52:14 +0000 (05:52 +0000)
Change-Id: I9bab03d012bb391cc4114c3c8dbd4763ccde6179

src/lib/elementary/elc_multibuttonentry.c

index 3948031..4d558bf 100644 (file)
@@ -2201,7 +2201,7 @@ _elm_multibuttonentry_item_elm_widget_item_disable(Eo *eo_it, Elm_Multibuttonent
    elm_layout_signal_emit(VIEW(it), emission, "elm");
 
    //TIZEN_ONLY(20180709): Disabled item should not be selected.
-   ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN_VAL(WIDGET(it), sd, NULL);
+   ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(WIDGET(it), sd);
 
    if (sd->selected_it == it)
      sd->selected_it = NULL;