[pdfmod] [build] Fix compilation warnings
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pdfmod] [build] Fix compilation warnings
- Date: Tue, 28 Sep 2010 20:32:32 +0000 (UTC)
commit e24496518a54c6fd3b286096140f882a29c651f3
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri Sep 17 15:42:05 2010 -0500
[build] Fix compilation warnings
src/PdfMod/Gui/BookmarkView.cs | 2 +-
src/PdfMod/Gui/Client.cs | 3 ---
src/PdfMod/Gui/MetadataEditorBox.cs | 4 ++--
src/PdfMod/Gui/PageCell.cs | 2 --
4 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/PdfMod/Gui/BookmarkView.cs b/src/PdfMod/Gui/BookmarkView.cs
index 487c1d2..00303cd 100644
--- a/src/PdfMod/Gui/BookmarkView.cs
+++ b/src/PdfMod/Gui/BookmarkView.cs
@@ -144,7 +144,7 @@ namespace PdfMod.Gui
public PdfOutline Bookmark;
public PdfOutline Parent;
// TODO Save/restore the precise position this bookmark was at beneath its parent
- public int Position;
+ //public int Position;
}
TreeIter IterForBookmark (PdfOutline bookmark)
diff --git a/src/PdfMod/Gui/Client.cs b/src/PdfMod/Gui/Client.cs
index d5d635c..19e0af6 100644
--- a/src/PdfMod/Gui/Client.cs
+++ b/src/PdfMod/Gui/Client.cs
@@ -109,9 +109,6 @@ namespace PdfMod.Gui
StatusBar.PackStart (status_label, true, true, 6);
StatusBar.ReorderChild (status_label, 0);
- var zoom_align = new Alignment (1f, 0.5f, 0f, 0f) { RightPadding = 24 };
- var zoom_box = new HBox () { Spacing = 6 };
-
var zoom_slider = new ZoomSlider (this);
StatusBar.PackEnd (zoom_slider, false, false, 0);
StatusBar.ReorderChild (zoom_slider, 1);
diff --git a/src/PdfMod/Gui/MetadataEditorBox.cs b/src/PdfMod/Gui/MetadataEditorBox.cs
index 37a2ca3..e22f3ca 100644
--- a/src/PdfMod/Gui/MetadataEditorBox.cs
+++ b/src/PdfMod/Gui/MetadataEditorBox.cs
@@ -110,10 +110,10 @@ namespace PdfMod.Gui
void HandleDocumentLoaded (object o, EventArgs e)
{
doc = app.Document;
- var pdf = app.Document.Pdf;
+ /*var pdf = app.Document.Pdf;
var info = pdf.Info;
- /*Console.WriteLine ("Author = {0}", info.Author);
+ Console.WriteLine ("Author = {0}", info.Author);
Console.WriteLine ("CreationDate = {0}", info.CreationDate);
Console.WriteLine ("Creator = {0}", info.Creator);
Console.WriteLine ("Keywords = {0}", info.Keywords);
diff --git a/src/PdfMod/Gui/PageCell.cs b/src/PdfMod/Gui/PageCell.cs
index 2beaf4f..9f9e36e 100644
--- a/src/PdfMod/Gui/PageCell.cs
+++ b/src/PdfMod/Gui/PageCell.cs
@@ -32,11 +32,9 @@ namespace PdfMod.Gui
const int scale_every = 400;
ThumbnailLruCache surface_cache;
- IconView parent;
public PageCell (IconView parent)
{
- this.parent = parent;
surface_cache = new ThumbnailLruCache ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]