[f-spot] Changed Populate method to have a default parameter instead
- From: Stephen Shaw <sshaw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Changed Populate method to have a default parameter instead
- Date: Wed, 1 Feb 2012 23:49:58 +0000 (UTC)
commit 57789d245e95d90bdd47a2a3796246a31ddf38fd
Author: Stephen Shaw <sshaw decriptor com>
Date: Wed Feb 1 10:42:44 2012 -0700
Changed Populate method to have a default parameter instead
src/Clients/MainApp/FSpot.Widgets/TagMenu.cs | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Widgets/TagMenu.cs b/src/Clients/MainApp/FSpot.Widgets/TagMenu.cs
index b922d36..58818e1 100644
--- a/src/Clients/MainApp/FSpot.Widgets/TagMenu.cs
+++ b/src/Clients/MainApp/FSpot.Widgets/TagMenu.cs
@@ -98,11 +98,6 @@ public class TagMenu : Menu {
protected TagMenu (IntPtr raw) : base (raw) {}
- public void Populate ()
- {
- Populate (false);
- }
-
public int GetPosition (Tag t)
{
// FIXME right now this only works on flat menus
@@ -120,7 +115,7 @@ public class TagMenu : Menu {
return -1;
}
- public void Populate (bool flat)
+ public void Populate (bool flat = false)
{
if (flat)
PopulateFlat (tag_store.RootCategory, this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]