]> Pileus Git - ~andy/gtk/blob - gtk/a11y/gailmisc.c
Change FSF Address
[~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, see <http://www.gnu.org/licenses/>.
16  */
17
18 #include "config.h"
19
20 #include <gtk/gtk.h>
21 #include "gailmisc.h"
22
23
24 G_DEFINE_TYPE (GailMisc, _gail_misc, ATK_TYPE_MISC)
25
26 static void
27 gail_misc_threads_enter (AtkMisc *misc)
28 {
29   GDK_THREADS_ENTER ();
30 }
31
32 static void
33 gail_misc_threads_leave (AtkMisc *misc)
34 {
35   GDK_THREADS_LEAVE ();
36 }
37
38 static void
39 _gail_misc_class_init (GailMiscClass *klass)
40 {
41   AtkMiscClass *misc_class = ATK_MISC_CLASS (klass);
42
43   misc_class->threads_enter = gail_misc_threads_enter;
44   misc_class->threads_leave = gail_misc_threads_leave;
45 }
46
47 static void
48 _gail_misc_init (GailMisc *misc)
49 {
50 }