[libchamplain] Fix champlain_selection_layer_select() in single mode.
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [libchamplain] Fix champlain_selection_layer_select() in single mode.
- Date: Tue, 28 Jul 2009 21:38:58 +0000 (UTC)
commit ba630bbf5b30751d5d3aabb2a9fe7ec1fe28bec8
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Thu Jul 9 23:59:21 2009 +0200
Fix champlain_selection_layer_select() in single mode.
The method was acting as a NOOP because of a mistake in real_select().
champlain/champlain-selection-layer.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-selection-layer.c b/champlain/champlain-selection-layer.c
index f0252ba..acd5088 100644
--- a/champlain/champlain-selection-layer.c
+++ b/champlain/champlain-selection-layer.c
@@ -130,10 +130,6 @@ real_select (ChamplainSelectionLayer *layer,
if (layer->priv->mode == CHAMPLAIN_SELECTION_SINGLE)
{
- return;
- }
- else if (layer->priv->mode == CHAMPLAIN_SELECTION_SINGLE)
- {
/* Clear previous selection */
champlain_selection_layer_unselect_all (layer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]