[gtk+] Declare transition and border-image properties to be writeonly



commit d4c70f214d48326683424eabf6607ed65f45dae0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 23 08:24:49 2010 -0500

    Declare transition and border-image properties to be writeonly
    
    We don't make the types of their values public, so getting their
    values is useless and will leak.

 gtk/gtkcssprovider.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 2a32eee..f3a62cd 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -635,7 +635,7 @@
  *       <row>
  *         <entry>border-image</entry>
  *         <entry><literallayout>border image (see above)</literallayout></entry>
- *         <entry></entry>
+ *         <entry>internal use only</entry>
  *         <entry><literallayout>border-image: url("/path/to/image.png") 3 4 3 4 stretch;
  * border-image: url("/path/to/image.png") 3 4 4 3 repeat stretch;</literallayout>
  *         </entry>
@@ -643,7 +643,7 @@
  *       <row>
  *         <entry>transition</entry>
  *         <entry>transition (see above)</entry>
- *         <entry></entry>
+ *         <entry>internal use only</entry>
  *         <entry><literallayout>transition: 150ms ease-in-out;
  * transition: 1s linear loop;</literallayout>
  *         </entry>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]