diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 01:04:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 11:23:22 -0500 |
commit | e4b5e94eb9500a83769771e6132f9abb08badb32 (patch) | |
tree | 5dea6143e46d636c3aa0faed50cf12db7b4b1715 /gtk/a11y/gtkiconviewaccessibleprivate.h | |
parent | 853b5e5fa2bd0c5f5260cb566470310fb72d8596 (diff) | |
download | gtk+-e4b5e94eb9500a83769771e6132f9abb08badb32.tar.gz |
Make accessible implementations public
This commit exposes the get_type() functions and standard
headers for accessible implementations. This makes it possible
to derive from the GTK accessible implementations without
GType magic tricks. This is necessary, because we require the
a11y type hierarchy to be parallel to the widget type hierarchy.
So, if you derive a widget and need to adjust its a11y implementation,
you have to be able to derive its accessible implementation.
This commit probably exposes more than is absolutely necessary,
it also exposes accessibles of widgets that are unlikely candidates
for deriving from.
Diffstat (limited to 'gtk/a11y/gtkiconviewaccessibleprivate.h')
-rw-r--r-- | gtk/a11y/gtkiconviewaccessibleprivate.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gtk/a11y/gtkiconviewaccessibleprivate.h b/gtk/a11y/gtkiconviewaccessibleprivate.h new file mode 100644 index 0000000000..fd7ac1a24a --- /dev/null +++ b/gtk/a11y/gtkiconviewaccessibleprivate.h @@ -0,0 +1,29 @@ +/* gtkiconview.c + * Copyright (C) 2002, 2004 Anders Carlsson <andersca@gnu.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __GTK_ICON_VIEW_ACCESSIBLE_PRIVATE_H__ +#define __GTK_ICON_VIEW_ACCESSIBLE_PRIVATE_H__ + +#include "gtkiconviewaccessible.h" + +G_BEGIN_DECLS + +void _gtk_icon_view_accessible_adjustment_changed (GtkIconView *icon_view); + +G_END_DECLS + +#endif /* __GTK_ICON_VIEW_ACCESSIBLE_PRIVATE_H__ */ |