summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-10-07 18:08:09 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-10-07 18:08:09 +0000
commit6235e5c9edd88cac3ec0b91e547796e428596b1a (patch)
tree4a2aab212bc8bf507ff710a0a73f10c8aa61741f
parentb6685dda465b41e6e3230545fe18fae43c614405 (diff)
downloadgdk-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--ChangeLog7
-rw-r--r--gtk/gtktooltip.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d0b96e667..d2fd075ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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