ooo-build r15244 - in branches/opensuse-11-1: . patches/dev300



Author: pmladek
Date: Thu Jan 29 18:52:29 2009
New Revision: 15244
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15244&view=rev

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

	* patches/dev300/fix-gtk-a11y.diff,
	* patches/dev300/apply: make atk/a11y work again (i#98533, n#457611)



Added:
   branches/opensuse-11-1/patches/dev300/fix-gtk-a11y.diff
Modified:
   branches/opensuse-11-1/ChangeLog
   branches/opensuse-11-1/patches/dev300/apply

Modified: branches/opensuse-11-1/patches/dev300/apply
==============================================================================
--- branches/opensuse-11-1/patches/dev300/apply	(original)
+++ branches/opensuse-11-1/patches/dev300/apply	Thu Jan 29 18:52:29 2009
@@ -236,6 +236,9 @@
 # Fix linkoo, the ultimate hacker tool
 fix-linkoo.diff, i#83548, jholesov
 
+# fix a11y bug
+fix-gtk-a11y.diff, i#98533, n#457611, michael
+
 # Update linkoo for dev300 TODO file upstream
 linkoo-dev300.diff, jholesov
 

Added: branches/opensuse-11-1/patches/dev300/fix-gtk-a11y.diff
==============================================================================
--- (empty file)
+++ branches/opensuse-11-1/patches/dev300/fix-gtk-a11y.diff	Thu Jan 29 18:52:29 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]