Merge branch 'tizen_2.4' of ssh://spin:29418/apps/widget/widget into tizen
[apps/native/widget/widget.git] / src / virtual_window.c
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;
        }