gtkboxaccessible.c 1.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* GAIL - The GNOME Accessibility Implementation Library
 * Copyright 2004 Sun Microsystems Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
Javier Jardón's avatar
Javier Jardón committed
15
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 17 18 19 20 21 22
 */

#include "config.h"

#include <gtk/gtk.h>
#include "gtkboxaccessible.h"

23

24
G_DEFINE_TYPE (GtkBoxAccessible, _gtk_box_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE)
25 26 27 28 29

static void
gtk_box_accessible_initialize (AtkObject *accessible,
                               gpointer   data)
{
30
  ATK_OBJECT_CLASS (_gtk_box_accessible_parent_class)->initialize (accessible, data);
31 32 33 34
  accessible->role = ATK_ROLE_FILLER;
}

static void
35
_gtk_box_accessible_class_init (GtkBoxAccessibleClass *klass)
36 37 38 39 40 41 42
{
  AtkObjectClass *class = ATK_OBJECT_CLASS (klass);

  class->initialize = gtk_box_accessible_initialize;
}

static void
43
_gtk_box_accessible_init (GtkBoxAccessible *scale)
44 45
{
}