2007-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
2
svn path=/trunk/; revision=17483
+2007-03-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
+ Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
+
2007-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
if (tooltips)
*tooltips = current_tooltips;
if (current_widget)
- *current_widget = has_tips ? current_tooltips->active_tips_data->widget : NULL;
+ *current_widget = (has_tips && current_tooltips->active_tips_data) ? current_tooltips->active_tips_data->widget : NULL;
return has_tips;
}