[meld] Revert "Replace gobject type bounds with constant for compat"



commit e08ac7d665f01382dddfa3344873a1ca13cd77e1
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Oct 3 06:42:44 2010 +1000

    Revert "Replace gobject type bounds with constant for compat"
    
    The previous commit was a compatibility workaround. Now that we've
    bumped our pygtk requirement, it can be removed.
    
    This reverts commit 0856f9d0c7e5672ff999338a7dcb3bfa60b43293.

 meld/diffmap.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/diffmap.py b/meld/diffmap.py
index 3e8467c..3b31b60 100644
--- a/meld/diffmap.py
+++ b/meld/diffmap.py
@@ -136,14 +136,14 @@ gtk.widget_class_install_style_property(DiffMap,
                                         ('width', float,
                                          'Width',
                                          'Width of the bar',
-                                         0.0, 100.0, 20,
+                                         0.0, gobject.G_MAXFLOAT, 20,
                                          gobject.PARAM_READABLE))
 gtk.widget_class_install_style_property(DiffMap,
                                         ('x-padding', float,
                                          'Width-wise padding',
                                          'Padding to be left between left and '
                                          'right edges and change blocks',
-                                         0.0, 50.0, 2.5,
+                                         0.0, gobject.G_MAXFLOAT, 2.5,
                                          gobject.PARAM_READABLE))
 
 



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