[gtk/kill-containers: 132/199] popover: Fix accessible implementation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-containers: 132/199] popover: Fix accessible implementation
- Date: Tue, 12 May 2020 00:34:58 +0000 (UTC)
commit a65f70ac2394066731a5a64e38dc99ac78212d51
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 8 01:27:41 2020 -0400
popover: Fix accessible implementation
Now that GtkPopover is no longer a container,
update the accessible implementation to match.
gtk/a11y/gtkpopoveraccessible.c | 2 +-
gtk/a11y/gtkpopoveraccessible.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/a11y/gtkpopoveraccessible.c b/gtk/a11y/gtkpopoveraccessible.c
index a530f4aa84..6d222a5f5a 100644
--- a/gtk/a11y/gtkpopoveraccessible.c
+++ b/gtk/a11y/gtkpopoveraccessible.c
@@ -25,7 +25,7 @@
typedef struct _GtkPopoverAccessiblePrivate GtkPopoverAccessiblePrivate;
-G_DEFINE_TYPE (GtkPopoverAccessible, gtk_popover_accessible, GTK_TYPE_CONTAINER_ACCESSIBLE)
+G_DEFINE_TYPE (GtkPopoverAccessible, gtk_popover_accessible, GTK_TYPE_WIDGET_ACCESSIBLE)
static void
popover_update_modality (AtkObject *object,
diff --git a/gtk/a11y/gtkpopoveraccessible.h b/gtk/a11y/gtkpopoveraccessible.h
index 539449e4d3..fc6d83954b 100644
--- a/gtk/a11y/gtkpopoveraccessible.h
+++ b/gtk/a11y/gtkpopoveraccessible.h
@@ -24,7 +24,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
@@ -40,12 +40,12 @@ typedef struct _GtkPopoverAccessibleClass GtkPopoverAccessibleClass;
struct _GtkPopoverAccessible
{
- GtkContainerAccessible parent;
+ GtkWidgetAccessible parent;
};
struct _GtkPopoverAccessibleClass
{
- GtkContainerAccessibleClass parent_class;
+ GtkWidgetAccessibleClass parent_class;
};
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]