[f-spot] Cleanup unreachable code in SelectionCollectionGridView.



commit 6ffa3ddc6eb1dff812fba17c2996b1316ac1652c
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat Sep 11 22:17:29 2010 +0200

    Cleanup unreachable code in SelectionCollectionGridView.

 .../FSpot.Widgets/SelectionCollectionGridView.cs   |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Widgets/SelectionCollectionGridView.cs b/src/Clients/MainApp/FSpot.Widgets/SelectionCollectionGridView.cs
index 3006431..8a80ff5 100644
--- a/src/Clients/MainApp/FSpot.Widgets/SelectionCollectionGridView.cs
+++ b/src/Clients/MainApp/FSpot.Widgets/SelectionCollectionGridView.cs
@@ -195,17 +195,12 @@ namespace FSpot.Widgets
                 if (evnt.Button == 3) {
                     ContextMenu (evnt, cell_num);
                     return true;
-                } else
+                } else {
                     return false;
-
-                break;
-
-            default:
-                return false;
-                break;
+                }
             }
 
-            return true;
+            return false;
         }
 
         protected override bool OnButtonReleaseEvent (EventButton evnt)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]