From: Emmanuel Rodriguez Date: Sat, 11 Jul 2009 07:14:26 +0000 (+0200) Subject: Emit the notify signal selection-mode when the selection mode is changed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d4c26e38f056f1a618fa9a806e45d066d4cf06;p=libchamplain Emit the notify signal selection-mode when the selection mode is changed --- diff --git a/champlain/champlain-selection-layer.c b/champlain/champlain-selection-layer.c index acd5088..22b96d3 100644 --- a/champlain/champlain-selection-layer.c +++ b/champlain/champlain-selection-layer.c @@ -331,6 +331,8 @@ champlain_selection_layer_set_selection_mode (ChamplainSelectionLayer *layer, { g_return_if_fail (CHAMPLAIN_IS_SELECTION_LAYER (layer)); layer->priv->mode = mode; + + g_object_notify (G_OBJECT (layer), "selection-mode"); } /**