summaryrefslogtreecommitdiff
path: root/cocoa/gui.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/gui.m')
-rw-r--r--cocoa/gui.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index f3a0b04a2..0ffc44543 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -258,11 +258,6 @@ void gui_window_stop_throbber(struct gui_window *g)
void gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
{
-#ifdef WITH_BMP
- if (icon != NULL && content_get_type( icon ) == CONTENT_ICO)
- nsico_set_bitmap_from_size( icon, 16, 16 );
-#endif
-
NSBitmapImageRep *bmp = icon != NULL ? (NSBitmapImageRep *)content_get_bitmap( icon ) : NULL;
NSImage *image = nil;