[gtk+] GtkCellRendererToggle: correct "toggled" signal documentation
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkCellRendererToggle: correct "toggled" signal documentation
- Date: Thu, 10 Oct 2013 22:02:48 +0000 (UTC)
commit 7d0d90ad626ddaa0b3d404fb68c3bece2bb4a2af
Author: Dan Williams <dcbw redhat com>
Date: Thu Oct 10 16:31:44 2013 -0500
GtkCellRendererToggle: correct "toggled" signal documentation
Previous commit wrongly identified "active" as containing the new
value. Instead, applications must determine the new value to
update the model with manually based on the value currently in the
model.
gtk/gtkcellrenderertoggle.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 77174c8..b1d4d7b 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -183,7 +183,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
* The ::toggled signal is emitted when the cell is toggled.
*
* It is the responsibility of the application to update the model
- * and store the "active" property at the position indicated by @path.
+ * with the correct value to store at @path. Often this is simply the
+ * opposite of the value currently stored at @path.
**/
toggle_cell_signals[TOGGLED] =
g_signal_new (I_("toggled"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]