[vlc-commits] macosx: fix xib compilation warnings for open panel

David Fuhrmann git at videolan.org
Wed Feb 12 16:22:37 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Feb 12 16:18:52 2014 +0100| [4e6c4d38082b93255b6b5508bb1da12b4981a56e] | committer: David Fuhrmann

macosx: fix xib compilation warnings for open panel

Action prototypes were missing...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e6c4d38082b93255b6b5508bb1da12b4981a56e
---

 .../macosx/Resources/English.lproj/Open.xib        |   48 ++++++++++++++++++--
 modules/gui/macosx/output.h                        |   12 +++--
 modules/gui/macosx/output.m                        |    8 ++--
 3 files changed, 57 insertions(+), 11 deletions(-)

diff --git a/extras/package/macosx/Resources/English.lproj/Open.xib b/extras/package/macosx/Resources/English.lproj/Open.xib
index 76c1dbd..e3cf2c2 100644
--- a/extras/package/macosx/Resources/English.lproj/Open.xib
+++ b/extras/package/macosx/Resources/English.lproj/Open.xib
@@ -2,9 +2,9 @@
 <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
   <data>
     <int key="IBDocument.SystemTarget">1050</int>
-    <string key="IBDocument.SystemVersion">12E55</string>
+    <string key="IBDocument.SystemVersion">12F45</string>
     <string key="IBDocument.InterfaceBuilderVersion">851</string>
-    <string key="IBDocument.AppKitVersion">1187.39</string>
+    <string key="IBDocument.AppKitVersion">1187.40</string>
     <string key="IBDocument.HIToolboxVersion">626.00</string>
     <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -12,9 +12,9 @@
     </object>
     <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
       <bool key="EncodedWithXMLCoder">YES</bool>
-      <integer value="637"/>
       <integer value="2346"/>
       <integer value="1263"/>
+      <integer value="637"/>
     </object>
     <object class="NSArray" key="IBDocument.PluginDependencies">
       <bool key="EncodedWithXMLCoder">YES</bool>
@@ -14522,7 +14522,13 @@ eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA5AA</bytes>
               <string>outputChanged:</string>
               <string>outputCloseSheet:</string>
               <string>outputFileBrowse:</string>
+              <string>outputInfoChanged:</string>
+              <string>outputMethodChanged:</string>
               <string>outputSettings:</string>
+              <string>streamPortStepperChanged:</string>
+              <string>streamTTLStepperChanged:</string>
+              <string>transcodeChanged:</string>
+              <string>transcodeInfoChanged:</string>
             </object>
             <object class="NSMutableArray" key="dict.values">
               <bool key="EncodedWithXMLCoder">YES</bool>
@@ -14531,6 +14537,12 @@ eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA5AA</bytes>
               <string>id</string>
               <string>id</string>
               <string>id</string>
+              <string>id</string>
+              <string>id</string>
+              <string>id</string>
+              <string>id</string>
+              <string>id</string>
+              <string>id</string>
             </object>
           </object>
           <object class="NSMutableDictionary" key="actionInfosByName">
@@ -14541,7 +14553,13 @@ eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA5AA</bytes>
               <string>outputChanged:</string>
               <string>outputCloseSheet:</string>
               <string>outputFileBrowse:</string>
+              <string>outputInfoChanged:</string>
+              <string>outputMethodChanged:</string>
               <string>outputSettings:</string>
+              <string>streamPortStepperChanged:</string>
+              <string>streamTTLStepperChanged:</string>
+              <string>transcodeChanged:</string>
+              <string>transcodeInfoChanged:</string>
             </object>
             <object class="NSMutableArray" key="dict.values">
               <bool key="EncodedWithXMLCoder">YES</bool>
@@ -14562,9 +14580,33 @@ eHQAAAAAQ29weXJpZ2h0IEFwcGxlLCBJbmMuLCAyMDA5AA</bytes>
                 <string key="candidateClassName">id</string>
               </object>
               <object class="IBActionInfo">
+                <string key="name">outputInfoChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
+              <object class="IBActionInfo">
+                <string key="name">outputMethodChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
+              <object class="IBActionInfo">
                 <string key="name">outputSettings:</string>
                 <string key="candidateClassName">id</string>
               </object>
+              <object class="IBActionInfo">
+                <string key="name">streamPortStepperChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
+              <object class="IBActionInfo">
+                <string key="name">streamTTLStepperChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
+              <object class="IBActionInfo">
+                <string key="name">transcodeChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
+              <object class="IBActionInfo">
+                <string key="name">transcodeInfoChanged:</string>
+                <string key="candidateClassName">id</string>
+              </object>
             </object>
           </object>
           <object class="NSMutableDictionary" key="outlets">
diff --git a/modules/gui/macosx/output.h b/modules/gui/macosx/output.h
index 7ed456c..6bb4323 100644
--- a/modules/gui/macosx/output.h
+++ b/modules/gui/macosx/output.h
@@ -91,11 +91,15 @@
 - (IBAction)outputChanged:(id)sender;
 - (IBAction)outputSettings:(id)sender;
 - (IBAction)outputCloseSheet:(id)sender;
-- (void)outputMethodChanged:(NSNotification *)o_notification;
-- (void)outputInfoChanged:(NSNotification *)o_notification;
+- (IBAction)outputMethodChanged:(id)sender;
+- (IBAction)outputInfoChanged:(id)object;
 - (void)TTLChanged:(NSNotification *)o_notification;
 - (IBAction)outputFileBrowse:(id)sender;
-- (void)transcodeChanged:(NSNotification *)o_notification;
-- (void)transcodeInfoChanged:(NSNotification *)o_notification;
+- (IBAction)streamPortStepperChanged:(id)sender;
+- (IBAction)streamTTLStepperChanged:(id)sender;
+- (IBAction)transcodeChanged:(id)sender;
+- (IBAction)transcodeInfoChanged:(id)object;
 - (IBAction)announceChanged:(id)sender;
+
+- (IBAction)streamTTLStepperChanged:(id)sender;
 @end
diff --git a/modules/gui/macosx/output.m b/modules/gui/macosx/output.m
index 8e9109e..c81c15d 100644
--- a/modules/gui/macosx/output.m
+++ b/modules/gui/macosx/output.m
@@ -201,7 +201,7 @@
     [NSApp endSheet: o_output_sheet];
 }
 
-- (void)outputMethodChanged:(NSNotification *)o_notification
+- (IBAction)outputMethodChanged:(id)sender
 {
     NSString *o_mode;
     o_mode = [[o_method selectedCell] title];
@@ -314,7 +314,7 @@
     [self outputInfoChanged: nil];
 }
 
-- (void)outputInfoChanged:(NSNotification *)o_notification
+- (IBAction)outputInfoChanged:(id)object
 {
     NSString *o_mode, *o_mux, *o_mux_string;
     NSMutableString *o_announce = [NSMutableString stringWithString:@""];
@@ -475,7 +475,7 @@
     [self TTLChanged:nil];
 }
 
-- (void)transcodeChanged:(NSNotification *)o_notification
+- (IBAction)transcodeChanged:(id)sender
 {
     if ([o_transcode_video_chkbox state] == NSOnState) {
         [o_transcode_video_selector setEnabled: YES];
@@ -499,7 +499,7 @@
     [self transcodeInfoChanged:nil];
 }
 
-- (void)transcodeInfoChanged:(NSNotification *)o_notification
+- (IBAction)transcodeInfoChanged:(id)object
 {
     NSMutableString *o_transcode_string = [NSMutableString stringWithCapacity:200];
 



More information about the vlc-commits mailing list