summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-08-02 11:48:09 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-08-25 19:10:21 +0100
commit0db811f2a1329d5fd56c23173b1f2bb49a084cd2 (patch)
tree391be3129b61a8eb92b9e381bf2dbaec480ebbb9
parent3566dca46b1fb96d49605ece1f8fde740d6b2168 (diff)
Docs: ignore emits_changed on immutable properties
If you mark a whole interface with emits_changed, but have immutable properties, we don't want the immutable properties to have the note about the changed signal.
-rw-r--r--doc/templates/interface.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index d039fbe8..63a24bdf 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -418,6 +418,7 @@
$property.get_changed()
$property.get_deprecated()
+ #if not $property.immutable:
#if $property.emits_changed == $property.EMITS_CHANGED_UPDATES
<div class="annotation emits-changed emits-changed-updates">
When this property changes, the
@@ -436,6 +437,7 @@
signal is <strong>not</strong> emitted when this property changes.
</div>
#end if
+ #end if
#if $property.is_connection_parameter:
<div class="annotation connection-parameter">