From 4285f21b3b03516663d2689340c7ef5c0c0799ae Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 11 Jan 2010 17:37:13 +0100 Subject: [PATCH] Limit GtkContainer::border-width to 65535 Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199 --- gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index d2b4bac888..9a9d1bf87b 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,