Fix make issue and correct menu editing issue that was causing an exception

This commit is contained in:
Gregory John Casamento 2023-06-19 10:42:27 -04:00
parent df2feec443
commit 41129386f7
2 changed files with 6 additions and 12 deletions

View file

@ -249,7 +249,7 @@
* in order to avoid excessive amounts of drawing.
*/
[NSEvent startPeriodicEventsAfterDelay: 0.1 withPeriod: 0.05];
e = [[NSApp delegate] nextEventMatchingMask: eventMask
e = [NSApp nextEventMatchingMask: eventMask
untilDate: future
inMode: NSEventTrackingRunLoopMode
dequeue: YES];
@ -299,7 +299,7 @@
[[self window] flushWindow];
}
}
e = [[NSApp delegate] nextEventMatchingMask: eventMask
e = [NSApp nextEventMatchingMask: eventMask
untilDate: future
inMode: NSEventTrackingRunLoopMode
dequeue: YES];
@ -1057,7 +1057,7 @@ static BOOL done_editing;
while (!done_editing)
{
NSEventType eType;
e = [[NSApp delegate] nextEventMatchingMask: eventMask
e = [NSApp nextEventMatchingMask: eventMask
untilDate: future
inMode: NSEventTrackingRunLoopMode
dequeue: YES];

View file

@ -22,19 +22,13 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
#
# ADDITIONAL_OBJCFLAGS += -Wall -Werror
ADDITIONAL_GUI_LIBS += \
-lGorm \
-lGormObjCHeaderParser
-lInterfaceBuilder
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
ADDITIONAL_LIB_DIRS += \
-L../GormLib/$(GNUSTEP_OBJ_DIR) \
-L../GormObjCHeaderParser/$(GNUSTEP_OBJ_DIR)
-L../InterfaceBuilder/$(GNUSTEP_OBJ_DIR)
else
ADDITIONAL_LIB_DIRS += \
-L../GormLib/$(GNUSTEP_OBJ_DIR) \
-L../GormObjCHeaderParser/$(GNUSTEP_OBJ_DIR)
-L../InterfaceBuilder/$(GNUSTEP_OBJ_DIR)
endif
GormCore_LIBRARIES_DEPEND_UPON += -lGormObjCHeaderParser