[gtk/kill-containers: 135/199] window: Fix accessible implementation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-containers: 135/199] window: Fix accessible implementation
- Date: Tue, 12 May 2020 00:35:13 +0000 (UTC)
commit 501eda295689ed05d11cc54a1ccd4f32f048bdaf
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 8 01:30:12 2020 -0400
window: Fix accessible implementation
Now that GtkWindow is no longer a container,
update the accessible implementation to match.
gtk/a11y/gtkwindowaccessible.h | 6 +++---
gtk/gtkwindow.c | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/a11y/gtkwindowaccessible.h b/gtk/a11y/gtkwindowaccessible.h
index 41d3bbc184..39250190cb 100644
--- a/gtk/a11y/gtkwindowaccessible.h
+++ b/gtk/a11y/gtkwindowaccessible.h
@@ -22,7 +22,7 @@
#error "Only <gtk/gtk-a11y.h> can be included directly."
#endif
-#include <gtk/a11y/gtkcontaineraccessible.h>
+#include <gtk/a11y/gtkwidgetaccessible.h>
G_BEGIN_DECLS
@@ -39,14 +39,14 @@ typedef struct _GtkWindowAccessiblePrivate GtkWindowAccessiblePrivate;
struct _GtkWindowAccessible
{
- GtkContainerAccessible parent;
+ GtkWidgetAccessible parent;
GtkWindowAccessiblePrivate *priv;
};
struct _GtkWindowAccessibleClass
{
- GtkContainerAccessibleClass parent_class;
+ GtkWidgetAccessibleClass parent_class;
};
GDK_AVAILABLE_IN_ALL
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 53fd0ac9e1..0d57b7598f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -66,7 +66,6 @@
#include "gtktooltipprivate.h"
#include "a11y/gtkwindowaccessibleprivate.h"
-#include "a11y/gtkcontaineraccessibleprivate.h"
#include "inspector/window.h"
#include "gdk/gdktextureprivate.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]