[libchamplain] Emit the notify signal selection-mode when the selection mode is changed
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [libchamplain] Emit the notify signal selection-mode when the selection mode is changed
- Date: Tue, 28 Jul 2009 21:39:03 +0000 (UTC)
commit d8d4c26e38f056f1a618fa9a806e45d066d4cf06
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Sat Jul 11 09:14:26 2009 +0200
Emit the notify signal selection-mode when the selection mode is changed
champlain/champlain-selection-layer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]