[f-spot] Cleanup unreachable code in SelectionCollectionGridView.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Cleanup unreachable code in SelectionCollectionGridView.
- Date: Sat, 11 Sep 2010 20:19:11 +0000 (UTC)
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]