[125967] users/devans/GNOME-3/stable/dports/gnome/gtk3/files/ patch-backingScaleFactor.diff

devans at macports.org devans at macports.org
Tue Sep 30 08:54:51 PDT 2014


Revision: 125967
          https://trac.macports.org/changeset/125967
Author:   devans at macports.org
Date:     2014-09-30 08:54:51 -0700 (Tue, 30 Sep 2014)
Log Message:
-----------
GNOME-3/stable: gtk3, delete unused patch file.

Removed Paths:
-------------
    users/devans/GNOME-3/stable/dports/gnome/gtk3/files/patch-backingScaleFactor.diff

Deleted: users/devans/GNOME-3/stable/dports/gnome/gtk3/files/patch-backingScaleFactor.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gtk3/files/patch-backingScaleFactor.diff	2014-09-30 15:52:26 UTC (rev 125966)
+++ users/devans/GNOME-3/stable/dports/gnome/gtk3/files/patch-backingScaleFactor.diff	2014-09-30 15:54:51 UTC (rev 125967)
@@ -1,28 +0,0 @@
---- 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
-+
-+ at interface NSScreen (LionAPI)
-+- (CGFloat)backingScaleFactor;
-+- (NSRect)convertRectToBacking:(NSRect)aRect;
-+ at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140930/94b9aeba/attachment-0001.html>


More information about the macports-changes mailing list