[libdazzle] treenode: clean up paramspec flags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] treenode: clean up paramspec flags
- Date: Wed, 29 Nov 2017 01:01:35 +0000 (UTC)
commit 5999d8badcbe403840895e7dff62c9840750d137
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 28 17:00:23 2017 -0800
treenode: clean up paramspec flags
Some of these can be made more relaxed to avoid double notify.
src/tree/dzl-tree-node.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/tree/dzl-tree-node.c b/src/tree/dzl-tree-node.c
index bef6a21..75f5273 100644
--- a/src/tree/dzl-tree-node.c
+++ b/src/tree/dzl-tree-node.c
@@ -830,7 +830,7 @@ dzl_tree_node_class_init (DzlTreeNodeClass *klass)
"Expanded Icon Name",
"The icon-name to use when the row is expanded",
NULL,
- (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/**
* DzlTreeNode:icon-name:
@@ -842,7 +842,7 @@ dzl_tree_node_class_init (DzlTreeNodeClass *klass)
"Icon Name",
"The icon name to display.",
NULL,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/**
* DzlTreeNode:gicon:
*
@@ -865,7 +865,7 @@ dzl_tree_node_class_init (DzlTreeNodeClass *klass)
"Item",
"Optional object to associate with node.",
G_TYPE_OBJECT,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/**
* DzlTreeNode:parent:
@@ -901,7 +901,7 @@ dzl_tree_node_class_init (DzlTreeNodeClass *klass)
"Text",
"The text of the node.",
NULL,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/**
* DzlTreeNode:use-markup:
@@ -913,14 +913,14 @@ dzl_tree_node_class_init (DzlTreeNodeClass *klass)
"Use Markup",
"If text should be translated as markup.",
FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
properties [PROP_USE_DIM_LABEL] =
g_param_spec_boolean ("use-dim-label",
"Use Dim Label",
"If text should be rendered with a dim label.",
FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, properties);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]