[Gengrid/List/Genlist] Removed deprecated signal name 'clicked'
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Wed, 20 Apr 2011 01:27:59 +0000 (10:27 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Wed, 20 Apr 2011 01:27:59 +0000 (10:27 +0900)
src/lib/elm_gengrid.c
src/lib/elm_genlist.c
src/lib/elm_list.c

index 1b1d3c0..2b7b8f1 100644 (file)
@@ -810,10 +810,7 @@ _mouse_down(void        *data,
    item->wd->wasselected = item->selected;
    _item_hilight(item);
    if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
-     {
-        evas_object_smart_callback_call(item->wd->self, "clicked,double", item);
-        evas_object_smart_callback_call(item->wd->self, "clicked", item); // will be removed
-     }
+     evas_object_smart_callback_call(item->wd->self, "clicked,double", item);
    if (item->long_timer) ecore_timer_del(item->long_timer);
    if (item->realized)
      item->long_timer = ecore_timer_add(_elm_config->longpress_timeout,
index 5e512dc..5530d0d 100644 (file)
@@ -1515,10 +1515,7 @@ _mouse_down(void        *data,
    _item_highlight(it);
    if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
      if ((!it->disabled) && (!it->display_only))
-       {
-          evas_object_smart_callback_call(it->base.widget, "clicked,double", it);
-          evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
-       }
+       evas_object_smart_callback_call(it->base.widget, "clicked,double", it);
    if (it->long_timer) ecore_timer_del(it->long_timer);
    if (it->swipe_timer) ecore_timer_del(it->swipe_timer);
    it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
index 6d2e6d4..91c6cbe 100644 (file)
@@ -848,10 +848,7 @@ _mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void
    it->swipe_timer = ecore_timer_add(0.4, _swipe_cancel, it);
    /* Always call the callbacks last - the user may delete our context! */
    if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
-     {
-        evas_object_smart_callback_call(it->base.widget, "clicked,double", it);
-        evas_object_smart_callback_call(it->base.widget, "clicked", it); // will be removed
-     }
+     evas_object_smart_callback_call(it->base.widget, "clicked,double", it);
    wd->swipe = EINA_FALSE;
    wd->movements = 0;
 }