Backing out that change is NOT the correct solution.  The new behavior
of CSELF is to search up the inheritance chain, allowing subclasses to
access a CSELF variable set by a superclass method.  This is assuming
that the CSELF value will be set by one of the base classes and used
by the subclasses.  This looks like the GTK classes are not setting
things up correctly.

Rick

On Mon, Nov 28, 2011 at 8:04 AM, Jean-Louis Faucher
<jfaucher...@gmail.com> wrote:
> David
>
> I can get the tests working (under winXP) by doing that :
>
> 1)
> [temporary] Cancel the change done in RexxNativeActivation.cpp rev:5103
>         old     return receiver->getCSelf();
>         new     return receiver->getCSelf(((RexxMethod
> *)executable)->getScope());
> By restoring the old behaviour, the CSELF variable is found because the
> search starts at the scope of the receiver.
> Note : the rexx dictionnary lock is still done at the method's scope
> (GtkWidget), whereas the search starts at receiver's scope (GtkWindow), so
> of course, can't stay like that...
> Should be confirmed by Rick, but assuming the change rev:5103 can't be
> changed to start at receiver's scope, then you will need to modify the way
> how you assign a value to CSELF : should be always done at GtkWidget scope,
> to ensure it will be found from any subclass.
>
>
> 2)
> [temporary] Remove calls to g_thread_init and gdk_threads_init. There is
> probably something to investigate here, because the gtk windows are frozen
> when calling these functions.
> RexxRoutine0(int, GrxInit)
> {
>
>     int rc = 0;
>     char ** argv = (char **)&rexxgtk_argv;
>
>     // g_thread_init(NULL);
>     // gdk_threads_init();
>     gtk_set_locale ();
>     gtk_init (&rexxgtk_argc, &argv);
>     return rc;
> }
>
>
> Jean-Louis
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to