Re: vincent - r31546 - abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa

Hubert Figuière <[email protected]>
Newsgroups gmane.editors.abiword.devel
Message-ID <[email protected]>
On 23/07/12 09:32 AM, [email protected] wrote:
> 
> Author: vincent
> Date: 2012-07-23 18:32:29 +0200 (Mon, 23 Jul 2012)
> New Revision: 31546
> 
> Modified:
>    abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa/ap_CocoaDialog_FormatTable.cpp
>    abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa/ap_CocoaDialog_FormatTable.h
> Log:
> IBOutlet and IBAction define
> 
> Modified: abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa/ap_CocoaDialog_FormatTable.cpp
> ===================================================================
> --- abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa/ap_CocoaDialog_FormatTable.cpp	2012-07-23 16:30:31 UTC (rev 31545)
> +++ abiword/branches/gsoc2012dialogs/src/wp/ap/cocoa/ap_CocoaDialog_FormatTable.cpp	2012-07-23 16:32:29 UTC (rev 31546)
> @@ -114,6 +114,35 @@
>  	[m_dlg->_thicknessPopup selectItemAtIndex:closest];
>  }
>  
> +void AP_CocoaDialog_FormatTable::setHeightInGUI(UT_UTF8String & /*sHeight*/)
> +{
> +        UT_ASSERT_NOT_REACHED();
> +}
> +
> +void AP_CocoaDialog_FormatTable::setWidthInGUI(UT_UTF8String & /*sWidth*/)
> +{
> +        UT_ASSERT_NOT_REACHED();
> +}
> +- (IBAction)tableHeightField:(id)sender;
> +{
> +
> +}


This does NOT compile because you put the Objective-C method out of the
@implementation section.

Committing code that does not compile is not good.

Hub
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.