[evolution-patches] Fix for a crash in e-canvas.c



This crash popped up after some fixes to the dispose handling went into
libgnomecanvas. Please review and apply if appropriate. I'm making a new
libgnomecanvas release with part of the total fix mentioned in the
bugreport here:

http://bugzilla.gnome.org/show_bug.cgi?id=304915

Patch:

--- gal/widgets/e-canvas.c.orig	Tue May 24 01:16:33 2005
+++ gal/widgets/e-canvas.c	Tue May 24 01:16:51 2005
@@ -1015,7 +1015,7 @@ void e_canvas_popup_tooltip (ECanvas *ca
 
 void e_canvas_hide_tooltip  (ECanvas *canvas)
 {
-	if (canvas->tooltip_window) {
+	if (canvas && canvas->tooltip_window) {
 		gtk_widget_destroy (canvas->tooltip_window);
 		canvas->tooltip_window = NULL;
 	}


Cheers
Kjartan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]