diff options
author | Mike Gorse <mgorse@suse.com> | 2014-03-13 00:22:54 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-03-13 00:22:54 +0800 |
commit | 03ca50dbe3809c7321ab7038b0d62788552d501d (patch) | |
tree | 041bff6b0edd258bb49291117892ebb30f8be8d8 /e-util/gal-a11y-e-table.h | |
parent | d8ac0f010b636a675e279da9a1fcfc5bc5f03789 (diff) | |
download | gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar.gz gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar.bz2 gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar.lz gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar.xz gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.tar.zst gsoc2013-evolution-03ca50dbe3809c7321ab7038b0d62788552d501d.zip |
Bug #722938 - Adapt a11y code for newest gtk
As of gtk+ 3.2, AtkObjectFactories are no longer used to generate
accessibles for gtk widgets, so our custom atk classes need refactoring.
Diffstat (limited to 'e-util/gal-a11y-e-table.h')
-rw-r--r-- | e-util/gal-a11y-e-table.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/e-util/gal-a11y-e-table.h b/e-util/gal-a11y-e-table.h index 9d88ebb62d..9d16cd21ac 100644 --- a/e-util/gal-a11y-e-table.h +++ b/e-util/gal-a11y-e-table.h @@ -28,6 +28,7 @@ #define __GAL_A11Y_E_TABLE_H__ #include <gtk/gtk.h> +#include <gtk/gtk-a11y.h> #include <atk/atkobject.h> #include <atk/atkcomponent.h> @@ -41,21 +42,17 @@ typedef struct _GalA11yETable GalA11yETable; typedef struct _GalA11yETableClass GalA11yETableClass; typedef struct _GalA11yETablePrivate GalA11yETablePrivate; -/* This struct should actually be larger as this isn't what we derive from. - * The GalA11yETablePrivate comes right after the parent class structure. - **/ struct _GalA11yETable { - GtkAccessible object; + GtkContainerAccessible object; + GalA11yETablePrivate *priv; }; struct _GalA11yETableClass { - GtkAccessibleClass parent_class; + GtkContainerAccessibleClass parent_class; }; /* Standard Glib function */ GType gal_a11y_e_table_get_type (void); AtkObject *gal_a11y_e_table_new (GObject *table); -void gal_a11y_e_table_init (void); - #endif /* __GAL_A11Y_E_TABLE_H__ */ |