]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/prefs_widgets.m
Change the searchField in NSSearchField when macos >= 10.3
[vlc] / modules / gui / macosx / prefs_widgets.m
index f5f6713caf88fb7f57f525886bd7360d381064a5..6dfc8c290072483f08a95a3ae2b8111bd641bef5 100644 (file)
 #define OFFSET_RIGHT 20
 #define OFFSET_BETWEEN 2
 
-#define MACOS_VERSION [[[NSDictionary dictionaryWithContentsOfFile: \
-            @"/System/Library/CoreServices/SystemVersion.plist"] \
-            objectForKey: @"ProductVersion"] floatValue]
-
 #define UPWARDS_WHITE_ARROW                 "\xE2\x87\xA7" 
 #define OPTION_KEY                          "\xE2\x8C\xA5"
 #define UP_ARROWHEAD                        "\xE2\x8C\x83"