forked from AuroraMiddleware/gtk
popover: Fix accessible implementation
Now that GtkPopover is no longer a container, update the accessible implementation to match.
This commit is contained in:
parent
2e615d8c20
commit
a65f70ac23
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user