2011-04-27 06:42:27 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2011-05-27 15:37:24 -07:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 04:12:37 -07: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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-03 23:09:22 -07:00
|
|
|
#include "RootAccessibleWrap.h"
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#include "nsMai.h"
|
|
|
|
|
2012-05-03 23:09:22 -07:00
|
|
|
using namespace mozilla::a11y;
|
|
|
|
|
2012-10-12 23:34:21 -07:00
|
|
|
GtkWindowAccessible::GtkWindowAccessible(AtkObject* aAccessible) :
|
|
|
|
DummyAccessible()
|
2007-03-22 10:30:00 -07:00
|
|
|
{
|
2012-04-02 09:25:15 -07:00
|
|
|
g_object_ref(aAccessible);
|
|
|
|
mAtkObject = aAccessible;
|
2008-01-21 21:29:40 -08:00
|
|
|
}
|
|
|
|
|
2012-10-12 23:34:21 -07:00
|
|
|
GtkWindowAccessible::~GtkWindowAccessible()
|
2008-01-21 21:29:40 -08:00
|
|
|
{
|
2012-05-03 23:09:22 -07:00
|
|
|
g_object_unref(mAtkObject);
|
2012-07-30 07:20:58 -07:00
|
|
|
mAtkObject = nullptr;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|