From e869399369f6a411a31f44a8a50041bba27273e9 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 10 Oct 2013 15:33:36 -0500 Subject: [PATCH] GtkCellRendererToggle: update documentation of 'toggled' signal Clarify that applications are expected to handle updating the model from the 'active' property, like GtkCellRendererText does for the 'edited' property. --- gtk/gtkcellrenderertoggle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index bee988e39d..77174c8774 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -181,6 +181,9 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class) * event location * * 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. **/ toggle_cell_signals[TOGGLED] = g_signal_new (I_("toggled"),