]> Pileus Git - ~andy/gtk/commit
Bug 478519 - GtkTooltip segfaults on NULL gdk-display-current-tooltip
authorKristian Rietveld <kris@gtk.org>
Sat, 22 Aug 2009 21:21:44 +0000 (23:21 +0200)
committerKristian Rietveld <kris@gtk.org>
Sat, 22 Aug 2009 21:21:44 +0000 (23:21 +0200)
commitf84df976a7f9aea5e9311ab53745f9c127b5a590
tree7b32c9259cea4b2f79055c10f00d675d983eb5a3
parente86fab56df86fadba57ed08b883e686031f26424
Bug 478519 -  GtkTooltip segfaults on NULL gdk-display-current-tooltip

Make the tooltip code a bit more robust for a case that only occurs when
GTK+ is used from a language binding.  It looks like this case appears
because the memory management / ref counting is handled differently in
some of the language bindings.  Instead of asserting, we will fail
silently.  Also fix a think-o in gtk_tooltip_start_delay().  Patch from
O. Andrieu.
gtk/gtktooltip.c