paned: Initialize max_position

As pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=608865
max_position should be set to G_MAXINT.
This commit is contained in:
Matthias Clasen 2016-01-24 00:22:31 -05:00
parent 873a024f5b
commit 43747a6b30

View File

@ -1921,6 +1921,7 @@ gtk_paned_init (GtkPaned *paned)
priv->in_recursion = FALSE;
priv->handle_prelit = FALSE;
priv->original_position = -1;
priv->max_position = G_MAXINT;
priv->handle_pos.x = -1;
priv->handle_pos.y = -1;