diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-10-07 18:08:09 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-10-07 18:08:09 +0000 |
commit | 6235e5c9edd88cac3ec0b91e547796e428596b1a (patch) | |
tree | 4a2aab212bc8bf507ff710a0a73f10c8aa61741f | |
parent | b6685dda465b41e6e3230545fe18fae43c614405 (diff) | |
download | gdk-pixbuf-6235e5c9edd88cac3ec0b91e547796e428596b1a.tar.gz |
Avoid unitialized memory warnings from valgrind.
2008-10-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
memory warnings from valgrind.
svn path=/branches/gtk-2-14/; revision=21604
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gtk/gtktooltip.c | 1 |
2 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,13 @@ Merged from trunk: + * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized + memory warnings from valgrind. + +2008-10-06 Matthias Clasen <mclasen@redhat.com> + + Merged from trunk: + * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip on the range entry itself, too. diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 9d6f94f38..06daaa08e 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -911,6 +911,7 @@ gtk_tooltip_show_tooltip (GdkDisplay *display) if (tooltip->keyboard_mode_enabled) { + x = y = -1; pointer_widget = tooltip_widget = tooltip->keyboard_widget; } else |