[gtk+] Limit GtkContainer::border-width to 65535



commit 2520d02be9df6cb9be443f14abac9778afb62bad
Author: Christian Dywan <christian twotoasts de>
Date:   Mon Jan 11 17:37:13 2010 +0100

    Limit GtkContainer::border-width to 65535
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199

 gtk/gtkcontainer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index d2b4bac..9a9d1bf 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -246,7 +246,7 @@ gtk_container_class_init (GtkContainerClass *class)
                                                       P_("Border width"),
                                                       P_("The width of the empty border outside the containers children"),
 						      0,
-						      G_MAXINT,
+						      65535,
 						      0,
                                                       GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,



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