Skip to content

Conversation

gcasa
Copy link
Member

@gcasa gcasa commented Oct 11, 2025

No description provided.

@gcasa gcasa requested a review from fredkiefer as a code owner October 11, 2025 22:06
Copy link
Member

@fredkiefer fredkiefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any harm coming from this. So please go ahead.

@@ -0,0 +1,402 @@
/* Implementation of class GSTouchBarWindow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there intentionally just one star?


@implementation GSTouchBarWindow

/* * Class methods */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks strange. Remove the star or add a line break.


- (void) dealloc
{
[_fallbackWindows release];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you use the macro here?

{
window = [[GSTouchBarWindow alloc] initWithTouchBar: touchBar];
[_fallbackWindows setObject: window forKey: key];
[window release]; // Retained by dictionary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, please use the macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants