[PR #3] [CLOSED] Minor Cocoa UI improvements #3

Open
opened 2026-01-31 21:29:19 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/3
Author: @MaddTheSane
Created: 3/26/2013
Status: Closed

Base: masterHead: c36f0f8e4602fe014a3a383d6bb181401e72e8fe


📝 Commits (2)

  • b5cc843 Make the GTK UI build on OS X.
  • c36f0f8 Minor Cocoa UI improvements.

📊 Changes

2 files changed (+12 additions, -7 deletions)

View changed files

📝 ui/cocoa.m (+7 -7)
📝 ui/gtk.c (+5 -0)

📄 Description

Use fileSystemRepresentation to get a file name from an NSString. This will make it so that special characters in file names are properly escaped for use in file functions.
Define NSInteger on pre-Leopard systems, and use it on -openPanelDidEnd:returnCode:contextInfo: so that it's consistant with the signature requested in 64-bit code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/3 **Author:** [@MaddTheSane](https://github.com/MaddTheSane) **Created:** 3/26/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `c36f0f8e4602fe014a3a383d6bb181401e72e8fe` --- ### 📝 Commits (2) - [`b5cc843`](https://github.com/qemu/qemu/commit/b5cc84343f479d4870961c82fc7b384637e9616c) Make the GTK UI build on OS X. - [`c36f0f8`](https://github.com/qemu/qemu/commit/c36f0f8e4602fe014a3a383d6bb181401e72e8fe) Minor Cocoa UI improvements. ### 📊 Changes **2 files changed** (+12 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `ui/cocoa.m` (+7 -7) 📝 `ui/gtk.c` (+5 -0) </details> ### 📄 Description Use fileSystemRepresentation to get a file name from an NSString. This will make it so that special characters in file names are properly escaped for use in file functions. Define NSInteger on pre-Leopard systems, and use it on -openPanelDidEnd:returnCode:contextInfo: so that it's consistant with the signature requested in 64-bit code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:29:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#3