&arg->info.widget_recreate.out_content,
&arg->info.widget_recreate.out_title);
if (ret == 0) {
- if (widget_set_orientation(arg->pkgname, arg->id, arg->info.widget_create.degree) < 0) {
- ErrPrint("Failed to set orientation %s - %d\n", arg->id, arg->info.widget_create.degree);
+ if (widget_set_orientation(arg->pkgname, arg->id, arg->info.widget_recreate.degree) < 0) {
+ ErrPrint("Failed to set orientation %s - %d\n", arg->id, arg->info.widget_recreate.degree);
}
if (w != arg->info.widget_recreate.width || h != arg->info.widget_recreate.height) {