]> git.sesse.net Git - vlc/commitdiff
compile before you commit
authorFelix Paul Kühne <fkuehne@videolan.org>
Tue, 11 Dec 2007 11:25:21 +0000 (11:25 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 11 Dec 2007 11:25:21 +0000 (11:25 +0000)
modules/gui/macosx/intf.m

index d9a3442cbed5016dba1ee4f82328aa62213c8b2a..212350b294cad571d7157c01945d9ef037b55302 100644 (file)
@@ -393,7 +393,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     o_embedded_list = [[VLCEmbeddedList alloc] init];
     o_interaction_list = [[VLCInteractionList alloc] init];
     o_sfilters = nil;
-    o_update = [[VLCUpdate alloc] init];
+    //FIXME o_update = [[VLCUpdate alloc] init];
 
     i_lastShownVolume = -1;
 
@@ -789,8 +789,9 @@ static VLCMain *_o_sharedMainInstance = nil;
     if ( !nib_update_loaded )
         nib_update_loaded = [NSBundle loadNibNamed:@"Update" owner:self];
 
-    if([o_update shouldCheckForUpdate])
-        [NSThread detachNewThreadSelector:@selector(checkForUpdate) toTarget:o_update withObject:NULL];
+    // FIXME
+    //if([o_update shouldCheckForUpdate])
+    //    [NSThread detachNewThreadSelector:@selector(checkForUpdate) toTarget:o_update withObject:NULL];
  
     /* Handle sleep notification */
     [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector(computerWillSleep:)
@@ -1909,12 +1910,12 @@ static VLCMain *_o_sharedMainInstance = nil;
 }
 
 - (IBAction)checkForUpdate:(id)sender
-{
+{/* FIXME
     if( !nib_update_loaded )
         nib_update_loaded = [NSBundle loadNibNamed:@"Update" owner:self];
 
     [o_update showUpdateWindow];
-}
+*/}
 
 - (IBAction)viewHelp:(id)sender
 {