[edje_entry] add return code for longpress cb func
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 8 Dec 2010 06:24:58 +0000 (15:24 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Wed, 8 Dec 2010 06:24:58 +0000 (15:24 +0900)
src/lib/edje_entry.c

index 5855aaa..800cfbd 100644 (file)
@@ -1893,7 +1893,7 @@ _long_press(void *data)
 {
    Edje_Real_Part *rp = data;
    Entry *en;
-   if (!rp) return;
+   if (!rp) return ECORE_CALLBACK_CANCEL;
    en = rp->entry_data;
 
    if (en->longpress_timer)
@@ -1904,6 +1904,7 @@ _long_press(void *data)
 
    en->long_pressed = EINA_TRUE;
    en->longpress_timer = NULL;
+   return ECORE_CALLBACK_CANCEL;
 }
 
 static void