Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 383934 Details for
Bug 519058
x11-libs/gtk+:3 please add support for Mac OS 10.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from Mac Ports
t.p (text/plain), 1.24 KB, created by
Christoph Junghans (RETIRED)
on 2014-08-29 22:45:03 UTC
(
hide
)
Description:
patch from Mac Ports
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2014-08-29 22:45:03 UTC
Size:
1.24 KB
patch
obsolete
>Fix for Mac Os 10.7 > >src_compile: >gtkapplication-quartz-menu.c:265: error: incompatible type for argument 1 of 'roundf' >make[4]: *** [libgtk_3_la-gtkapplication-quartz-menu.lo] Error 1 > >More info: >https://trac.macports.org/ticket/43283 >https://bugzilla.gnome.org/show_bug.cgi?id=727366 >https://bugs.gentoo.org/show_bug.cgi?id=519058 > >--- gtk/gtkapplication-quartz-menu.c.orig 2014-05-08 01:40:39.000000000 +0200 >+++ gtk/gtkapplication-quartz-menu.c 2014-05-15 11:16:09.000000000 +0200 >@@ -30,6 +30,16 @@ > > #import <Cocoa/Cocoa.h> > >+#if !defined(MAC_OS_X_VERSION_10_7) || \ >+MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 >+ >+@interface NSScreen (LionAPI) >+- (CGFloat)backingScaleFactor; >+- (NSRect)convertRectToBacking:(NSRect)aRect; >+@end >+ >+#endif // 10.7 >+ > #define ICON_SIZE 16 > > #define BLACK "#000000" >@@ -262,7 +272,7 @@ > } > > theme = gtk_icon_theme_get_default (); >- scale = roundf ([[NSScreen mainScreen] backingScaleFactor]); >+ scale = [[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)] ? roundf ([[NSScreen mainScreen] backingScaleFactor]) : 1.; > info = gtk_icon_theme_lookup_by_gicon_for_scale (theme, icon, ICON_SIZE, scale, GTK_ICON_LOOKUP_USE_BUILTIN); > > if (info != NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 519058
:
382256
| 383934