[gnome-subtitles] Updated to reflect changes on the SubLib API and to clear a warning with the use of PixBuf.
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-subtitles] Updated to reflect changes on the SubLib API and to clear a warning with the use of PixBuf.
- Date: Sat, 23 May 2009 07:43:44 -0400 (EDT)
commit 89c6f3b62a667ac3fc26056e8a2d2691e2d72cde
Author: Pedro Castro <mail pedrocastro org>
Date: Sat May 23 12:34:45 2009 +0100
Updated to reflect changes on the SubLib API and to clear a warning with the use of PixBuf.
---
src/GnomeSubtitles/Ui/VideoPreview/Video.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/GnomeSubtitles/Ui/VideoPreview/Video.cs b/src/GnomeSubtitles/Ui/VideoPreview/Video.cs
index 256f960..f39c4a9 100644
--- a/src/GnomeSubtitles/Ui/VideoPreview/Video.cs
+++ b/src/GnomeSubtitles/Ui/VideoPreview/Video.cs
@@ -139,7 +139,7 @@ public class Video {
if (!isLoaded)
return;
- TimeSpan time = SyncUtil.FramesToTime(frames, this.FrameRate);
+ TimeSpan time = TimingUtil.FramesToTime(frames, this.FrameRate);
Seek(time);
}
@@ -162,13 +162,13 @@ public class Video {
private void SetCustomIcons () {
/* Set the icon for the SetSubtitleStart button */
Gdk.Pixbuf pixbuf = new Gdk.Pixbuf(null, videoSetSubtitleStartIconFilename);
- Image image = Base.GetWidget(WidgetNames.VideoSetSubtitleStartButtonImage) as Image;
- image.FromPixbuf = pixbuf;
+ Image image = Base.GetWidget(WidgetNames.VideoSetSubtitleStartButtonImage) as Image;
+ image.Pixbuf = pixbuf;
/* Set the icon for the SetSubtitleEnd button */
pixbuf = new Gdk.Pixbuf(null, videoSetSubtitleEndIconFilename);
image = Base.GetWidget(WidgetNames.VideoSetSubtitleEndButtonImage) as Image;
- image.FromPixbuf = pixbuf;
+ image.Pixbuf = pixbuf;
}
private void InitializeVideoFrame () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]