[vlc-commits] macosx: extensions: delete dead code
David Fuhrmann
git at videolan.org
Thu Jun 11 19:21:22 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Jun 11 19:16:19 2015 +0200| [674fb436f25f557653b90c08f20ece856ab4ad67] | committer: David Fuhrmann
macosx: extensions: delete dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=674fb436f25f557653b90c08f20ece856ab4ad67
---
modules/gui/macosx/ExtensionsDialogProvider.m | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/modules/gui/macosx/ExtensionsDialogProvider.m b/modules/gui/macosx/ExtensionsDialogProvider.m
index c723ab9..a3d5ea9 100644
--- a/modules/gui/macosx/ExtensionsDialogProvider.m
+++ b/modules/gui/macosx/ExtensionsDialogProvider.m
@@ -161,18 +161,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
break;
}
- {
- assert([control isKindOfClass:[NSTextView class]]);
- NSTextView *textView = (NSTextView *)control;
- NSString *string = [NSString stringWithUTF8String:widget->psz_text];
- NSAttributedString *attrString = [[NSAttributedString alloc] initWithHTML:[string dataUsingEncoding: NSISOLatin1StringEncoding] documentAttributes:NULL];
- [[textView textStorage] setAttributedString:attrString];
- [textView setNeedsDisplay:YES];
- [textView scrollRangeToVisible:NSMakeRange(0, 0)];
- [attrString release];
- break;
-
- }
case EXTENSION_WIDGET_LABEL:
case EXTENSION_WIDGET_PASSWORD:
case EXTENSION_WIDGET_TEXT_FIELD:
More information about the vlc-commits
mailing list