Zero some variables to silence valgrind. (#495124, Morten Welinder)

2007-11-27  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
        variables to silence valgrind.  (#495124, Morten Welinder)


svn path=/trunk/; revision=19077
This commit is contained in:
Matthias Clasen 2007-11-27 18:15:28 +00:00 committed by Matthias Clasen
parent 08e15bbbae
commit cd2d87b471
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-11-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_move_resize): Zero some
variables to silence valgrind. (#495124, Morten Welinder)
2006-11-26 Ryan Lortie <desrt@desrt.ca>
* docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating

View File

@ -6061,6 +6061,8 @@ gtk_window_move_resize (GtkWindow *window)
GtkAllocation allocation;
/* Directly size allocate for override redirect (popup) windows. */
allocation.x = 0;
allocation.y = 0;
allocation.width = new_request.width;
allocation.height = new_request.height;