[f-spot] Kill a couple of warnings.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Kill a couple of warnings.
- Date: Thu, 22 Jul 2010 13:36:57 +0000 (UTC)
commit 479bd141b9c2569e3117302e004ad997f783fb7c
Author: Ruben Vermeersch <ruben savanne be>
Date: Thu Jul 22 15:36:43 2010 +0200
Kill a couple of warnings.
src/MainWindow.cs | 2 +-
src/TagCommands.cs | 8 +-------
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index a8b8436..278629b 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -1654,7 +1654,7 @@ namespace FSpot
public Tag CreateTag (object sender, EventArgs args)
{
- TagCommands.Create command = new TagCommands.Create (Database.Tags, GetToplevel (sender));
+ TagCommands.Create command = new TagCommands.Create (Database.Tags);
return command.Execute (TagCommands.TagType.Category, tag_selection_widget.TagHighlight);
}
diff --git a/src/TagCommands.cs b/src/TagCommands.cs
index 4176167..fb01b73 100644
--- a/src/TagCommands.cs
+++ b/src/TagCommands.cs
@@ -39,13 +39,9 @@ public class TagCommands {
[GtkBeans.Builder.Object] private Entry tag_name_entry;
[GtkBeans.Builder.Object] private Label prompt_label;
[GtkBeans.Builder.Object] private Label already_in_use_label;
- [GtkBeans.Builder.Object] private Label photo_label;
- [GtkBeans.Builder.Object] private ScrolledWindow photo_scrolled_window;
[GtkBeans.Builder.Object] private ComboBox category_option_menu;
[GtkBeans.Builder.Object] private CheckButton auto_icon_checkbutton;
- Gtk.Widget parent_window;
-
private ArrayList categories;
private void PopulateCategories (ArrayList categories, Category parent)
@@ -200,11 +196,9 @@ public class TagCommands {
return new_tag;
}
- public Create (TagStore tag_store, Gtk.Window parent_window) : base ("CreateTagDialog.ui", "create_tag_dialog")
+ public Create (TagStore tag_store) : base ("CreateTagDialog.ui", "create_tag_dialog")
{
this.tag_store = tag_store;
- this.parent_window = parent_window;
}
}
-
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]