From 4f61a74d1675274bd0f3c7ed45a838ac4efe7a3f Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Thu, 26 Aug 1999 03:49:49 +0000 Subject: [PATCH] my compiler sucks. i'm buying a mac. fix build bustage --- widget/src/gtk/nsGtkEventHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widget/src/gtk/nsGtkEventHandler.cpp b/widget/src/gtk/nsGtkEventHandler.cpp index 9709b3018df1..1d85185cd101 100644 --- a/widget/src/gtk/nsGtkEventHandler.cpp +++ b/widget/src/gtk/nsGtkEventHandler.cpp @@ -343,8 +343,7 @@ void handle_size_allocate(GtkWidget *w, GtkAllocation *alloc, gpointer p) widget->OnResize(event); NS_RELEASE(widget); - if (event && event.rect) - delete event.rect; + delete event.windowSize; } #if 0