2011-04-27 13:42:27 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2011-05-27 22:37:24 +00:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-04-17 23:06:38 +00:00
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
#include "RootAccessibleWrap.h"
|
|
|
|
|
2003-05-06 02:23:50 +00:00
|
|
|
#include "nsMai.h"
|
2004-03-25 18:36:08 +00:00
|
|
|
|
2012-05-04 06:09:22 +00:00
|
|
|
using namespace mozilla::a11y;
|
|
|
|
|
2012-10-13 06:34:21 +00:00
|
|
|
GtkWindowAccessible::GtkWindowAccessible(AtkObject* aAccessible) :
|
|
|
|
DummyAccessible()
|
2006-08-30 05:19:06 +00:00
|
|
|
{
|
2012-04-02 16:25:15 +00:00
|
|
|
g_object_ref(aAccessible);
|
|
|
|
mAtkObject = aAccessible;
|
2008-01-22 05:29:40 +00:00
|
|
|
}
|
|
|
|
|
2012-10-13 06:34:21 +00:00
|
|
|
GtkWindowAccessible::~GtkWindowAccessible()
|
2008-01-22 05:29:40 +00:00
|
|
|
{
|
2012-05-04 06:09:22 +00:00
|
|
|
g_object_unref(mAtkObject);
|
2012-07-30 14:20:58 +00:00
|
|
|
mAtkObject = nullptr;
|
2006-08-30 05:19:06 +00:00
|
|
|
}
|