Bug 1891340 - Part 1: Add parameters to customize the before and after icon tints...
[gecko.git] / accessible / atk / RootAccessibleWrap.cpp
blob41916a005583184abebff07acb1dce1a3ccc1006
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "RootAccessibleWrap.h"
9 #include "atk/atkobject.h"
10 #include "nsTArray.h"
12 #include <glib-object.h>
14 using namespace mozilla::a11y;
16 GtkWindowAccessible::GtkWindowAccessible(AtkObject* aAccessible) {
17 g_object_ref(aAccessible);
18 mAtkObject = aAccessible;
21 GtkWindowAccessible::~GtkWindowAccessible() {
22 g_object_unref(mAtkObject);
23 mAtkObject = nullptr;