fix set title 54/68854/1
authorDaehyeon Jung <darrenh.jung@samsung.com>
Wed, 27 Apr 2016 08:02:48 +0000 (17:02 +0900)
committerDaehyeon Jung <darrenh.jung@samsung.com>
Wed, 27 Apr 2016 08:02:48 +0000 (17:02 +0900)
Change-Id: I52191e195fb9ec316a0208ff1045008a7481a9bd

src/widget_app.c

index 96212dc..50be7da 100755 (executable)
@@ -816,13 +816,12 @@ EXPORT_API int widget_app_context_set_title(widget_context_h context,
                return WIDGET_ERROR_NOT_SUPPORTED;
        }
 
-       /* TODO
-        call elm_win_title_set()
-        */
-
        if (!context || !title)
                return WIDGET_ERROR_INVALID_PARAMETER;
 
+       if (context->win)
+               elm_win_title_set(context->win, title);
+
        return WIDGET_ERROR_NONE;
 }