Skip to content

Commit

Permalink
Merge pull request #10 from JoshuaBrest/feat/icon-title-patch-mythic
Browse files Browse the repository at this point in the history
Thank you Apple: Deprecated function broken in 32-bit-land
  • Loading branch information
blackxfiied authored Jul 23, 2024
2 parents 622d9af + 257d475 commit ceb94f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dlls/winemac.drv/cocoa_app.m
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,10 @@ - (void) transformProcessToForeground:(BOOL)activateIfTransformed
/* Whisky hack #9 */
// Set application name
NSString* appName = [NSString stringWithFormat:kAppNameText, self.applicationName];
NSLog(@"Setting process name to %@", appName);
bool success = [self setProcessName:appName];
if (!success)
NSLog(@"Failed to set process name to %@", appName);
[appName release];
}
}

Expand Down Expand Up @@ -917,8 +917,7 @@ typedef OSStatus (*LSSetApplicationInformationItemType)(
}

// Force symbols to be loaded in the LaunchServices framework
ProcessSerialNumber psn = {0, kCurrentProcess};
GetCurrentProcess(&psn);
ColorSyncCMMGetTypeID();
}

// If any of the function pointers are NULL, we can't continue
Expand Down

0 comments on commit ceb94f2

Please sign in to comment.