GList **splashscreens)
{
static const char query_raw[] =
- "SELECT src, type, orientation, indicatordisplay, operation "
+ "SELECT src, type, orientation, indicatordisplay, operation, color_depth "
"FROM package_app_splash_screen WHERE app_id=%Q";
int ret;
char *query;
_save_column_str(stmt, idx++, &info->orientation);
_save_column_str(stmt, idx++, &info->indicatordisplay);
_save_column_str(stmt, idx++, &info->operation);
+ _save_column_str(stmt, idx++, &info->color_depth);
*splashscreens = g_list_append(*splashscreens, info);
}
splashscreen->indicatordisplay = strdup(tmp->indicatordisplay);
if (tmp->operation)
splashscreen->operation = strdup(tmp->operation);
+ if (tmp->color_depth)
+ splashscreen->color_depth = strdup(tmp->color_depth);
return splashscreen;
}
splashscreen->orientation,
splashscreen->indicatordisplay,
splashscreen->operation,
+ splashscreen->color_depth,
user_data);
if (ret < 0)
break;