From: Emmanuel Rodriguez Date: Thu, 9 Jul 2009 21:59:21 +0000 (+0200) Subject: Fix champlain_selection_layer_select() in single mode. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba630bbf5b30751d5d3aabb2a9fe7ec1fe28bec8;p=libchamplain Fix champlain_selection_layer_select() in single mode. The method was acting as a NOOP because of a mistake in real_select(). --- 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 @@ -129,10 +129,6 @@ real_select (ChamplainSelectionLayer *layer, DEBUG ("Select %p", marker); 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);