gtk+ r21604 - in branches/gtk-2-14: . gtk



Author: matthiasc
Date: Tue Oct  7 18:08:09 2008
New Revision: 21604
URL: http://svn.gnome.org/viewvc/gtk+?rev=21604&view=rev

Log:
2008-10-06  Matthias Clasen  <mclasen redhat com>

        * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
        memory warnings from valgrind.



Modified:
   branches/gtk-2-14/ChangeLog
   branches/gtk-2-14/gtk/gtktooltip.c

Modified: branches/gtk-2-14/gtk/gtktooltip.c
==============================================================================
--- branches/gtk-2-14/gtk/gtktooltip.c	(original)
+++ branches/gtk-2-14/gtk/gtktooltip.c	Tue Oct  7 18:08:09 2008
@@ -911,6 +911,7 @@
 
   if (tooltip->keyboard_mode_enabled)
     {
+      x = y = -1;
       pointer_widget = tooltip_widget = tooltip->keyboard_widget;
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]