summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-16 15:14:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:16 +0100
commite432b5e60ceba0206cfcbd6466fa8ef468c04531 (patch)
treea07d3647f0936304a1fa049e85980345d329fbe0 /vcl/unx/gtk
parent394bc02eea5e52276c2c188ca520a63a98a0bb6a (diff)
basic optimization pass
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx
index 9c252c779c49..45790482fa5e 100644
--- a/vcl/unx/gtk/a11y/atkwindow.cxx
+++ b/vcl/unx/gtk/a11y/atkwindow.cxx
@@ -97,7 +97,7 @@ init_from_window( AtkObject *accessible, Window *pWindow )
default:
{
- Window *pChild = pWindow->GetChild( 0 );
+ Window *pChild = pWindow->GetWindow(WINDOW_FIRSTCHILD);
if( pChild )
{
if( WINDOW_HELPTEXTWINDOW == pChild->GetType() )