Fix the widget_app_get_id() 07/66307/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 18 Apr 2016 08:46:46 +0000 (17:46 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 18 Apr 2016 08:50:04 +0000 (17:50 +0900)
- Set the result

Change-Id: I10a03805e042ad3ebce8780329d8a4e519b15458
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/widget_app.c

index d337d64..38cda3d 100755 (executable)
@@ -596,6 +596,7 @@ EXPORT_API const char *widget_app_get_id(widget_context_h context)
                return NULL;
        }
 
+       set_last_result(WIDGET_ERROR_NONE);
        return context->id;
 }