Commit 181d089e authored by Luis de Bethencourt's avatar Luis de Bethencourt

ui: rotated boolean set but not used anymore

parent c18b6264
......@@ -755,12 +755,6 @@ rotate_video (UserInterface * ui)
clutter_actor_set_z_rotation_from_gravity (ui->texture, angle,
CLUTTER_GRAVITY_CENTER);
if (angle == 90 || angle == 270) {
ui->rotated = TRUE;
} else {
ui->rotated = FALSE;
}
size_change (CLUTTER_STAGE (ui->stage), NULL, 0, ui);
}
......@@ -1053,8 +1047,6 @@ interface_start (UserInterface * ui, gchar * uri)
ui->title_length = TITLE_LENGTH;
ui->duration_str = position_ns_to_str (ui->engine->media_duration);
ui->rotated = FALSE;
clutter_stage_set_color (CLUTTER_STAGE (ui->stage), &stage_color);
clutter_stage_set_minimum_size (CLUTTER_STAGE (ui->stage),
ui->stage_width, ui->stage_height);
......
......@@ -80,7 +80,6 @@ struct _UserInterface
{
gboolean controls_showing, keep_showing_controls;
gboolean blind, fullscreen, hide, penalty_box_active, tags;
gboolean rotated;
gint title_length, controls_timeout, progress_id;
guint media_width, media_height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment