[gtk/wip/sadiq/model-fixes] treelistmodel: Fix signal emission for passthrough
- From: Mohammed Sadiq <pksadiq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/sadiq/model-fixes] treelistmodel: Fix signal emission for passthrough
- Date: Tue, 18 Sep 2018 01:22:20 +0000 (UTC)
commit 4fcdcd3f3f40bf234540ea295bff7517d65d12b6
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Tue Sep 18 06:49:17 2018 +0530
treelistmodel: Fix signal emission for passthrough
The passthrough property is a construct_only property.
And the code that sets the value doesn't emit any signal on setting the value.
So simply remove the explicit notify flag so that the signals will be emitted
when value is set
gtk/gtktreelistmodel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktreelistmodel.c b/gtk/gtktreelistmodel.c
index cbbc073cf7..2f26413b2b 100644
--- a/gtk/gtktreelistmodel.c
+++ b/gtk/gtktreelistmodel.c
@@ -730,7 +730,7 @@ gtk_tree_list_model_class_init (GtkTreeListModelClass *class)
P_("passthrough"),
P_("If child model values are passed through"),
FALSE,
- GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
+ GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_properties (gobject_class, NUM_PROPERTIES, properties);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]