[slider] add NULL check in indicator_show_set func
authorWooHyun Jung <wh0705.jung@samsung.com>
Mon, 4 Oct 2010 13:06:50 +0000 (22:06 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 4 Oct 2010 13:06:50 +0000 (22:06 +0900)
src/lib/elm_slider.c

index 22d764c..7fa94e8 100644 (file)
@@ -965,6 +965,7 @@ EAPI void
 elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show)
 {
    Widget_Data *wd = elm_widget_data_get(obj);
+   if(!wd) return;
    if(show)
      edje_object_signal_emit(wd->slider, "elm,state,val,show", "elm");
    else