scrolledwindow: Fix accessible implementation

Now that GtkScrolledWindow is no longer a container,
update the accessible implementation to match.
This commit is contained in:
Matthias Clasen 2020-05-08 01:28:30 -04:00
parent a65f70ac23
commit 295c5594ce

View File

@ -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 _GtkScrolledWindowAccessiblePrivate GtkScrolledWindowAccessiblePr
struct _GtkScrolledWindowAccessible
{
GtkContainerAccessible parent;
GtkWidgetAccessible parent;
GtkScrolledWindowAccessiblePrivate *priv;
};
struct _GtkScrolledWindowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
GtkWidgetAccessibleClass parent_class;
};
GDK_AVAILABLE_IN_ALL