Merge branch 'tizen_2.4' of ssh://spin:29418/apps/widget/widget into tizen accepted/tizen/mobile/20150530.065423 accepted/tizen/mobile/20150609.090349 submit/tizen_mobile/20150527.071719 submit/tizen_mobile/20150529.103212 submit/tizen_mobile/20150609.051219
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 26 May 2015 13:16:53 +0000 (22:16 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 26 May 2015 13:16:53 +0000 (22:16 +0900)
Conflicts:
src/snapshot_window.c

Change-Id: I6708a6664b69635011b243d6b244018fdcf79855

include/widget.h [changed mode: 0755->0644]
include/widget_internal.h [changed mode: 0755->0644]
src/virtual_window.c

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 2973a9f..e1b4ca1 100644 (file)
@@ -658,7 +658,7 @@ static int pre_orientation_cb(const char *id, void *data)
        int orientation;
 
        /* Try provider_app first */
-       if (!info || info->state != VWIN_INFO_CREATED || !id) {
+       if (!info || info->state != VWIN_INFO_CREATED || !id || !info->id) {
                return WIDGET_ERROR_INVALID_PARAMETER;
        }