]> Pileus Git - ~andy/gtk/blob - gtk/a11y/gtkaccessibilitymisc.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / a11y / gtkaccessibilitymisc.c
1 /* GTK+ - accessibility implementations
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 "gtkaccessibilitymisc.h"
22
23
24 G_DEFINE_TYPE (GtkMiscImpl, _gtk_misc_impl, ATK_TYPE_MISC)
25
26 static void
27 gtk_misc_impl_threads_enter (AtkMisc *misc)
28 {
29   gdk_threads_enter ();
30 }
31
32 static void
33 gtk_misc_impl_threads_leave (AtkMisc *misc)
34 {
35   gdk_threads_leave ();
36 }
37
38 static void
39 _gtk_misc_impl_class_init (GtkMiscImplClass *klass)
40 {
41   AtkMiscClass *misc_class = ATK_MISC_CLASS (klass);
42
43   misc_class->threads_enter = gtk_misc_impl_threads_enter;
44   misc_class->threads_leave = gtk_misc_impl_threads_leave;
45 }
46
47 static void
48 _gtk_misc_impl_init (GtkMiscImpl *misc)
49 {
50 }