popover: Fix accessible implementation

Now that GtkPopover is no longer a container,
update the accessible implementation to match.
This commit is contained in:
Matthias Clasen 2020-05-08 01:27:41 -04:00
parent 2e615d8c20
commit a65f70ac23
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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