forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
7ca7038db4
commit
37c5790a7f
@ -1,3 +1,9 @@
|
||||
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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user