[longomatch] Fix unused variable.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix unused variable.
- Date: Fri, 17 Apr 2015 16:20:08 +0000 (UTC)
commit 6155f3c907cc091b66ffbdedf6d03966bbec06d0
Author: Julien Moutte <julien fluendo com>
Date: Thu Apr 9 14:43:38 2015 +0200
Fix unused variable.
.../Gui/Component/SynchronizationWidget.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/SynchronizationWidget.cs
b/LongoMatch.GUI/Gui/Component/SynchronizationWidget.cs
index 55fee17..6ccacbf 100644
--- a/LongoMatch.GUI/Gui/Component/SynchronizationWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/SynchronizationWidget.cs
@@ -280,7 +280,7 @@ namespace LongoMatch.Gui.Component
void UpdateTimeLineSize (MediaFileSet fileSet)
{
// Number of media files plus period sync line
- int visibleItems = Math.Min (StyleConf.TimelineCameraMaxLines,
project.Description.FileSet.Count + 1);
+ int visibleItems = Math.Min (StyleConf.TimelineCameraMaxLines, fileSet.Count + 1);
int height = scrolledwindow2.HScrollbar.Requisition.Height * 2;
height += visibleItems * StyleConf.TimelineCameraHeight;
vpaned2.Position = vpaned2.Allocation.Height - height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]