[gtk+] Nuke GtkBoxAccessible
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Nuke GtkBoxAccessible
- Date: Thu, 8 Nov 2012 01:21:53 +0000 (UTC)
commit ffa42cb5bb26cf41a0dd83187a4f0148dddbaff2
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 7 20:17:30 2012 -0500
Nuke GtkBoxAccessible
It didn't contain anything useful.
gtk/a11y/Makefile.am | 2 -
gtk/a11y/gtkboxaccessible.c | 45 --------------------------------
gtk/a11y/gtkboxaccessible.h | 52 -------------------------------------
gtk/a11y/gtkstatusbaraccessible.c | 2 +-
gtk/a11y/gtkstatusbaraccessible.h | 6 ++--
gtk/gtkbox.c | 4 +-
6 files changed, 6 insertions(+), 105 deletions(-)
---
diff --git a/gtk/a11y/Makefile.am b/gtk/a11y/Makefile.am
index 1bc1419..cb18cc5 100644
--- a/gtk/a11y/Makefile.am
+++ b/gtk/a11y/Makefile.am
@@ -6,7 +6,6 @@ gail_c_sources = \
gail.c \
gtkarrowaccessible.c \
gtkbooleancellaccessible.c \
- gtkboxaccessible.c \
gtkbuttonaccessible.c \
gtkcellaccessible.c \
gtkcellaccessibleparent.c \
@@ -57,7 +56,6 @@ gail_private_h_sources = \
gail.h \
gtkarrowaccessible.h \
gtkbooleancellaccessible.h \
- gtkboxaccessible.h \
gtkbuttonaccessible.h \
gtkcellaccessible.h \
gtkcellaccessibleparent.h \
diff --git a/gtk/a11y/gtkstatusbaraccessible.c b/gtk/a11y/gtkstatusbaraccessible.c
index d0e5987..9330b88 100644
--- a/gtk/a11y/gtkstatusbaraccessible.c
+++ b/gtk/a11y/gtkstatusbaraccessible.c
@@ -22,7 +22,7 @@
#include "gtkstatusbaraccessible.h"
-G_DEFINE_TYPE (GtkStatusbarAccessible, _gtk_statusbar_accessible, GTK_TYPE_BOX_ACCESSIBLE)
+G_DEFINE_TYPE (GtkStatusbarAccessible, _gtk_statusbar_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE)
static void
text_changed (GtkStatusbar *statusbar,
diff --git a/gtk/a11y/gtkstatusbaraccessible.h b/gtk/a11y/gtkstatusbaraccessible.h
index 0e4f0c3..d44c136 100644
--- a/gtk/a11y/gtkstatusbaraccessible.h
+++ b/gtk/a11y/gtkstatusbaraccessible.h
@@ -18,7 +18,7 @@
#ifndef __GTK_STATUSBAR_ACCESSIBLE_H__
#define __GTK_STATUSBAR_ACCESSIBLE_H__
-#include "gtkboxaccessible.h"
+#include "gtkcontaineraccessible.h"
G_BEGIN_DECLS
@@ -35,14 +35,14 @@ typedef struct _GtkStatusbarAccessiblePrivate GtkStatusbarAccessiblePrivate;
struct _GtkStatusbarAccessible
{
- GtkBoxAccessible parent;
+ GtkContainerAccessible parent;
GtkStatusbarAccessiblePrivate *priv;
};
struct _GtkStatusbarAccessibleClass
{
- GtkBoxAccessibleClass parent_class;
+ GtkContainerAccessibleClass parent_class;
};
GType _gtk_statusbar_accessible_get_type (void);
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 4dbb692..5c8e6e3 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -87,7 +87,7 @@
#include "gtksizerequest.h"
#include "gtkwidgetpath.h"
#include "gtkwidgetprivate.h"
-#include "a11y/gtkboxaccessible.h"
+#include "a11y/gtkcontaineraccessible.h"
enum {
@@ -317,7 +317,7 @@ gtk_box_class_init (GtkBoxClass *class)
g_type_class_add_private (object_class, sizeof (GtkBoxPrivate));
- gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_BOX_ACCESSIBLE);
+ gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_FILLER);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]