]> Pileus Git - ~andy/gtk/blob - gtk/a11y/gtkboxaccessible.c
text-cell-accessible: fix a double unref
[~andy/gtk] / gtk / a11y / gtkboxaccessible.c
1 /* GAIL - The GNOME Accessibility Implementation Library
2  * Copyright 2004 Sun Microsystems Inc.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #include "config.h"
19
20 #include <gtk/gtk.h>
21 #include "gtkboxaccessible.h"
22
23
24 G_DEFINE_TYPE (GtkBoxAccessible, _gtk_box_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE)
25
26 static void
27 gtk_box_accessible_initialize (AtkObject *accessible,
28                                gpointer   data)
29 {
30   ATK_OBJECT_CLASS (_gtk_box_accessible_parent_class)->initialize (accessible, data);
31   accessible->role = ATK_ROLE_FILLER;
32 }
33
34 static void
35 _gtk_box_accessible_class_init (GtkBoxAccessibleClass *klass)
36 {
37   AtkObjectClass *class = ATK_OBJECT_CLASS (klass);
38
39   class->initialize = gtk_box_accessible_initialize;
40 }
41
42 static void
43 _gtk_box_accessible_init (GtkBoxAccessible *scale)
44 {
45 }