]> err.no Git - libchamplain/commitdiff
Emit the notify signal selection-mode when the selection mode is changed
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 11 Jul 2009 07:14:26 +0000 (09:14 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 28 Jul 2009 21:23:17 +0000 (17:23 -0400)
champlain/champlain-selection-layer.c

index acd5088cbc1ec71ccc175af8abbd7d7be72d27c1..22b96d315ae74deb3f86ab80d4e873dce2043ba7 100644 (file)
@@ -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");
 }
 
 /**