summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/cocoa_in_gtk2.mm4
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 4e8fca7..58e2421 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,7 @@ suil (0.8.3) unstable;
* Fix compilation with -Wl,--no-undefined
* Fix a few minor/unlikely memory errors
- -- David Robillard <d@drobilla.net> Mon, 17 Nov 2014 01:44:25 -0500
+ -- David Robillard <d@drobilla.net> Tue, 16 Dec 2014 12:44:44 -0500
suil (0.8.2) stable;
diff --git a/src/cocoa_in_gtk2.mm b/src/cocoa_in_gtk2.mm
index 42d1cd2..2ab0f66 100644
--- a/src/cocoa_in_gtk2.mm
+++ b/src/cocoa_in_gtk2.mm
@@ -116,8 +116,8 @@ suil_cocoa_size_request(GtkWidget* widget, GtkRequisition* requisition)
} else {
NSView* view = (NSView*)self->instance->ui_widget;
NSRect frame = [view frame];
- requisition->width = CGRectGetWidth(frame);
- requisition->height = CGRectGetHeight(frame);
+ requisition->width = CGRectGetWidth(NSRectToCGRect(frame));
+ requisition->height = CGRectGetHeight(NSRectToCGRect(frame));
}
}