Commit 37c5790a authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

add extra NULL check for tooltipsdata to avoid code fiddling with

2007-09-24  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltips.c (gtk_tooltips_set_tip): add extra NULL check
	for tooltipsdata to avoid code fiddling with active_tips_data
	from crashing.  (Fixes #460194, Peter Wright, Matthijs De Smedt).


svn path=/trunk/; revision=18864
parent 7ca7038d
2007-09-24 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltips.c (gtk_tooltips_set_tip): add extra NULL check
for tooltipsdata to avoid code fiddling with active_tips_data
from crashing. (Fixes #460194, Peter Wright, Matthijs De Smedt).
2007-09-24 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/file/gtkprintbackendfile.c: Correct a comment.
......
......@@ -230,6 +230,7 @@ gtk_tooltips_set_tip (GtkTooltips *tooltips,
}
if (tooltips->active_tips_data
&& tooltipsdata
&& tooltips->active_tips_data->widget == widget
&& GTK_WIDGET_DRAWABLE (tooltips->active_tips_data->widget))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment