ooo-build r15169 - in trunk: . patches/dev300



Author: michael
Date: Tue Jan 27 16:33:36 2009
New Revision: 15169
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15169&view=rev

Log:
2009-01-27  Michael Meeks  <michael meeks novell com>

        * patches/dev300/fix-gtk-a11y.diff,
        * patches/dev300/apply: make atk/a11y work again.



Added:
   trunk/patches/dev300/fix-gtk-a11y.diff
Modified:
   trunk/ChangeLog
   trunk/patches/dev300/apply

Modified: trunk/patches/dev300/apply
==============================================================================
--- trunk/patches/dev300/apply	(original)
+++ trunk/patches/dev300/apply	Tue Jan 27 16:33:36 2009
@@ -252,6 +252,9 @@
 # Fix linkoo, the ultimate hacker tool
 fix-linkoo.diff, i#83548, jholesov
 
+# fix a11y bug
+fix-gtk-a11y.diff, i#98533, michael
+
 # Update linkoo for dev300 TODO file upstream
 linkoo-dev300.diff, jholesov
 

Added: trunk/patches/dev300/fix-gtk-a11y.diff
==============================================================================
--- (empty file)
+++ trunk/patches/dev300/fix-gtk-a11y.diff	Tue Jan 27 16:33:36 2009
@@ -0,0 +1,61 @@
+--- vcl/unx/source/plugadapt/salplug.cxx	(revision 264856)
++++ vcl/unx/source/plugadapt/salplug.cxx	(working copy)
+@@ -92,32 +92,6 @@
+             if( pInst )
+             {
+                 pCloseModule = aMod;
+-
+-                /*
+-                 * Recent GTK+ versions load their modules with RTLD_LOCAL, so we can 
+-                 * not access the 'gnome_accessibility_module_shutdown' anymore. 
+-                 * So make sure libgtk+ & co are still mapped into memory when 
+-                 * atk-bridge's atexit handler gets called.
+-                 */
+-                if( rModuleBase.equalsAscii("gtk") )
+-                {
+-                    const char* gtk_modules = getenv( "GTK_MODULES" );
+-                    if( gtk_modules )
+-                    {
+-                        rtl::OString aModules( gtk_modules );
+-                        sal_Int32 nIndex = 0;
+-                        while( nIndex >= 0 )
+-                        {
+-                            rtl::OString aToken = aModules.getToken( 0, ':', nIndex );
+-                            if( aToken.equals( "atk-bridge" ) )
+-                            {
+-                                pCloseModule = NULL;
+-                                break;
+-                            }
+-                        }
+-                    }
+-                }
+-                
+                 GetSalData()->m_pPlugin = aMod;
+             }
+             else
+
+--- vcl/unx/gtk/app/gtkinst.cxx	(revision 264856)
++++ vcl/unx/gtk/app/gtkinst.cxx	(working copy)
+@@ -174,21 +174,7 @@
+         pSalData->Init();
+         pSalData->initNWF();
+ 
+-        const char* pGtkModules = getenv( "GTK_MODULES" );
+-        if( pGtkModules )
+-        {
+-            rtl::OString aModules( pGtkModules );
+-            sal_Int32 nIndex = 0;
+-            while( nIndex >= 0 )
+-            {
+-                rtl::OString aToken = aModules.getToken( 0, ':', nIndex );
+-                if( aToken.equals( "gail" ) || aToken.equals( "atk-bridge" ) )
+-                {
+-                    InitAtkBridge();
+-                    break;
+-                }
+-            }
+-        }
++	InitAtkBridge();
+ 
+         return pInstance;
+     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]