From: Rajeev Ranjan Date: Thu, 2 Sep 2010 12:07:15 +0000 (+0900) Subject: [src/lib/elm_button.c] Commented the callback emission for "unpressed" from "clicked... X-Git-Tag: origin~289^2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f49c4a2172fb40e83759dd359eb272a429d4bafe;p=framework%2Fuifw%2Felementary.git [src/lib/elm_button.c] Commented the callback emission for "unpressed" from "clicked" signal handler which was added in open source version as safety measure. It has been commented to avoid double emission of "unpressed" signal. --- diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c index 70063c6..9e57265 100644 --- a/src/lib/elm_button.c +++ b/src/lib/elm_button.c @@ -210,7 +210,9 @@ _signal_clicked(void *data, Evas_Object *obj, const char *emission, const char * } wd->repeating = EINA_FALSE; evas_object_smart_callback_call(data, SIG_CLICKED, NULL); +#if 0 _signal_unpressed(data, obj, emission, source); /* safe guard when the theme does not emit the 'unpress' signal */ +#endif } static int