[f-spot] cleaning warnings
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] cleaning warnings
- Date: Mon, 29 Jun 2009 11:24:38 +0000 (UTC)
commit 406f7c0dc45da7aea398160225ecaf8f19bfa108
Author: Stephane Delcroix <stephane delcroix org>
Date: Mon Jun 29 11:52:58 2009 +0200
cleaning warnings
.../Exporters/FacebookExport/FacebookExport.cs | 8 +-------
.../FacebookExport/FacebookExportDialog.cs | 8 ++------
.../Exporters/FacebookExport/FacebookTagPopup.cs | 4 +---
3 files changed, 4 insertions(+), 16 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/FacebookExport.cs b/extensions/Exporters/FacebookExport/FacebookExport.cs
index 7a3dde4..ef973e5 100644
--- a/extensions/Exporters/FacebookExport/FacebookExport.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExport.cs
@@ -260,14 +260,8 @@ namespace FSpot.Exporter.Facebook
public class FacebookExport : IExporter
{
private int size = 604;
-
- private string[] captions;
- private List<Mono.Facebook.Tag>[] tags;
-
FacebookExportDialog dialog;
-
ThreadProgressDialog progress_dialog;
-
System.Threading.Thread command_thread;
public FacebookExport ()
@@ -367,7 +361,7 @@ namespace FSpot.Exporter.Facebook
file_info = new FileInfo (request.Current.LocalPath);
- Mono.Facebook.Photo photo = album.Upload (captions [i] ?? "", request.Current.LocalPath);
+ album.Upload (captions [i] ?? "", request.Current.LocalPath);
sent_bytes += file_info.Length;
}
diff --git a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
index 112c498..c46c6bf 100644
--- a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
@@ -113,10 +113,6 @@ namespace FSpot.Exporter.Facebook
}
List<Mono.Facebook.Tag>[] tags;
- List<Mono.Facebook.Tag>[] Tags {
- get { return tags; }
- }
-
int current_item;
IBrowsableItem[] items;
public IBrowsableItem[] Items {
@@ -299,10 +295,10 @@ namespace FSpot.Exporter.Facebook
bool actual = account.HasPermission (permission);
if (desired != actual) {
if (desired) {
- Log.DebugFormat("Granting {0}", permission);
+ Log.Debug ("Granting {0}", permission);
account.GrantPermission (permission, this);
} else {
- Log.DebugFormat("Revoking {0}", permission);
+ Log.Debug ("Revoking {0}", permission);
account.RevokePermission (permission);
}
/* Double-check that things work... */
diff --git a/extensions/Exporters/FacebookExport/FacebookTagPopup.cs b/extensions/Exporters/FacebookExport/FacebookTagPopup.cs
index c5e5e67..90953e4 100644
--- a/extensions/Exporters/FacebookExport/FacebookTagPopup.cs
+++ b/extensions/Exporters/FacebookExport/FacebookTagPopup.cs
@@ -20,9 +20,7 @@ namespace FSpot.Exporter.Facebook
{
internal class FacebookTagPopup : BuilderWindow
{
- private Dictionary<long, User> _friends;
-
- private Gtk.Window _popup;
+ Dictionary<long, User> _friends;
public FacebookTagPopup (Dictionary<long, User> friends) : base (Assembly.GetExecutingAssembly (), "FacebookExport.ui", "facebook_tag_popup")
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]