From e383a5eec44f3214b5c5fa9a26f3f4adc99526d9 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Sun, 25 May 2008 13:10:00 +0000 Subject: [PATCH] Fix for compilation error. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26571 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 10 ++++++++-- GormCore/GormObjectEditor.m | 4 ++-- Plugins/Nib/GormNibPlugin.m | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea413ce0..667e0ae1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ +2008-05-25 09:09-EDT Gregory John Casamento + + * GormCore/GormObjectEditor.m: Correction for segfault. + * Plugins/Nib/GormNibPlugin.m: Correction for compilation error + on gcc < 3.1 systems. + 2008-05-20 fabien - * GormCore/GormObjectEditor.m: add draggingExited: to implement autoscrolling - during IBAction connections. + * GormCore/GormObjectEditor.m: add draggingExited: to implement + autoscrolling during IBAction connections. 2008-05-18 19:16-EDT Gregory John Casamento diff --git a/GormCore/GormObjectEditor.m b/GormCore/GormObjectEditor.m index 05154006..e75ef79e 100644 --- a/GormCore/GormObjectEditor.m +++ b/GormCore/GormObjectEditor.m @@ -409,9 +409,9 @@ static NSMapTable *docMap = 0; - (void) close { - [super close]; + // [super close]; [[NSNotificationCenter defaultCenter] removeObserver: self]; - NSMapRemove(docMap,document); + // NSMapRemove(docMap,document); } - (void) makeSelectionVisible: (BOOL)flag diff --git a/Plugins/Nib/GormNibPlugin.m b/Plugins/Nib/GormNibPlugin.m index 91de3b4d..31002d43 100644 --- a/Plugins/Nib/GormNibPlugin.m +++ b/Plugins/Nib/GormNibPlugin.m @@ -24,6 +24,7 @@ #include #include #include "GormNibWrapperLoader.h" +#include @interface GormNibPlugin : GormPlugin @end