[Pixman] [PATCH 1/2] demos/scale.ui: Allow subsample_bits to be 0

Søren Sandmann sandmann at cs.au.dk
Tue Sep 10 07:02:10 PDT 2013


From: Søren Sandmann Pedersen <ssp at redhat.com>

The separable convolution filter supports a subsample_bits of 0 which
corresponds to no subsampling at all, so allow this value to be used
in the scale demo.
---
 demos/scale.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/demos/scale.ui b/demos/scale.ui
index b3450d3..ee985dd 100644
--- a/demos/scale.ui
+++ b/demos/scale.ui
@@ -24,7 +24,7 @@
     <property name="page_size">10</property>
   </object>
   <object class="GtkAdjustment" id="subsample_adjustment">
-    <property name="lower">1</property>
+    <property name="lower">0</property>
     <property name="upper">12</property>
     <property name="step_increment">1</property>
     <property name="page_increment">1</property>
-- 
1.7.11.7



More information about the Pixman mailing list