From cd2d87b4717a3772226714292a17f0c108f30ace Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 27 Nov 2007 18:15:28 +0000 Subject: [PATCH] Zero some variables to silence valgrind. (#495124, Morten Welinder) 2007-11-27 Matthias Clasen * gtk/gtkwindow.c (gtk_window_move_resize): Zero some variables to silence valgrind. (#495124, Morten Welinder) svn path=/trunk/; revision=19077 --- ChangeLog | 5 +++++ gtk/gtkwindow.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index e0aae44431..414824e42c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-27 Matthias Clasen + + * gtk/gtkwindow.c (gtk_window_move_resize): Zero some + variables to silence valgrind. (#495124, Morten Welinder) + 2006-11-26 Ryan Lortie * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 43d19d1a55..13948fe3a2 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -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;