Re: [PATCH] Setting variables in PD_DocumentRDF

From: vincent <vincent.abiword_at_gmail.com>
Date: Fri Apr 13 2012 - 17:09:09 CEST

Hi,
Sorry for the confusion. In my opinion, s_SemanticItemFactory is a static
global variable. So it is can be used in whole project (extern).

Please correct me if anything wrong. thanks

Vincent

On 4/13/12 10:41 PM, "Ingo Brückl" <ib@wupperonline.de> wrote:

>
> vincent wrote on Fri, 13 Apr 2012 22:30:43 +0800:
>
>> Is 's_SemanticItemFactory' and 's_RDFDialogs' always be used after function
>> 'setRDFDialogs'?
>
> I don't understand the question.
>
> First, PD_RDFDialogsGTK() calls setRDFDialogs(this) which correctly sets
> s_RDFDialogs. Afterwards s_RDFDialogs will be assigned new PD_RDFDialogsNull
> making the call pointless.
>
> Ingo
Received on Fri Apr 13 17:09:38 2012

This archive was generated by hypermail 2.1.8 : Fri Apr 13 2012 - 17:09:38 CEST