]> Pileus Git - ~andy/gtk/blob - gtk/a11y/gailmisc.c
9ce021cf01d12d2285989486632f44b7a83c01e2
[~andy/gtk] / gtk / a11y / gailmisc.c
1 /* GAIL - The GNOME Accessibility Implementation Library
2  * Copyright 2001, 2002, 2003 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, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #include "config.h"
21
22 #include <gtk/gtk.h>
23 #include "gailmisc.h"
24
25
26 G_DEFINE_TYPE (GailMisc, gail_misc, ATK_TYPE_MISC)
27
28 static void
29 gail_misc_threads_enter (AtkMisc *misc)
30 {
31   GDK_THREADS_ENTER ();
32 }
33
34 static void
35 gail_misc_threads_leave (AtkMisc *misc)
36 {
37   GDK_THREADS_LEAVE ();
38 }
39
40 static void
41 gail_misc_class_init (GailMiscClass *klass)
42 {
43   AtkMiscClass *misc_class = ATK_MISC_CLASS (klass);
44
45   misc_class->threads_enter = gail_misc_threads_enter;
46   misc_class->threads_leave = gail_misc_threads_leave;
47 }
48
49 static void
50 gail_misc_init (GailMisc *misc)
51 {
52 }