mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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:
parent
08e15bbbae
commit
cd2d87b471
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user