gtk2/gtk/a11y
Benjamin Otte 43c212ac28 build: Enable -Wswitch-enum and -Wswitch-default
This patch makes that work using 1 of 2 options:

1. Add all missing enums to the switch statement
  or
2. Cast the switch argument to a uint to avoid having to do that (mostly
   for GdkEventType).

I even found a bug while doing that: clearing a GtkImage with a surface
did not notify thae surface property.

The reason for enabling this flag even though it is tedious at times is
that it is very useful when adding values to an enum, because it makes
GTK immediately warn about all the switch statements where this enum is
relevant.
And I expect changes to enums to be frequent during the GTK4 development
cycle.
2017-10-06 21:23:39 +02:00
..
gtk-a11y-autocleanups.h Remove GtkArrow 2016-10-16 18:17:21 +02:00
gtkaccessibility.c a11y: Stop listening for configure events 2017-09-19 18:39:03 +02:00
gtkaccessibility.h a11y: don't shutdown accessibility, so the atk bridge is always valid 2013-09-25 20:14:04 -04:00
gtkaccessibilityutil.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
gtkaccessibilityutil.h
gtkbooleancellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkbooleancellaccessible.h
gtkbuttonaccessible.c Remove GtkAlignment 2016-10-18 00:29:19 +02:00
gtkbuttonaccessible.h
gtkcellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcellaccessible.h a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcellaccessibleparent.c a11y: Add API to update relationsets of cells to their parents 2014-03-24 16:38:18 +01:00
gtkcellaccessibleparent.h a11y: Add API to update relationsets of cells to their parents 2014-03-24 16:38:18 +01:00
gtkcellaccessibleprivate.h a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcheckmenuitemaccessible.c GtkCheckMenuItemAccessible: Make work with model menu items 2014-01-04 21:53:31 -05:00
gtkcheckmenuitemaccessible.h
gtkcolorswatchaccessible.c Emit a11y state change notification for color swatches 2014-01-05 10:54:43 -05:00
gtkcolorswatchaccessibleprivate.h
gtkcomboboxaccessible.c Revert "a11y: Remove AtkSelection implementation from combobox" 2013-09-16 15:41:15 +02:00
gtkcomboboxaccessible.h
gtkcontaineraccessible.c GtkContainerAccessible: avoid resurrecting accessibles 2014-10-14 23:58:37 -04:00
gtkcontaineraccessible.h
gtkcontaineraccessibleprivate.h a11y: Don't use signals 2014-03-13 02:02:50 +01:00
gtkcontainercellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcontainercellaccessible.h
gtkentryaccessible.c entry accessible: Give up on GdkEvent api for now 2017-09-19 18:39:03 +02:00
gtkentryaccessible.h
gtkexpanderaccessible.c
gtkexpanderaccessible.h
gtkflowboxaccessible.c Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxaccessible.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxaccessibleprivate.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxchildaccessible.c Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxchildaccessible.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkframeaccessible.c
gtkframeaccessible.h
gtkiconviewaccessible.c a11y: atk_component_get_position is deprecated 2014-04-01 21:40:23 -04:00
gtkiconviewaccessible.h
gtkiconviewaccessibleprivate.h
gtkimageaccessible.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gtkimageaccessible.h
gtkimagecellaccessible.c a11y: atk_component_get_position is deprecated 2014-04-01 21:40:23 -04:00
gtkimagecellaccessible.h
gtklabelaccessible.c GtkLabelAccessible: Initialize link before setting parent 2016-11-23 18:55:42 -05:00
gtklabelaccessible.h
gtklabelaccessibleprivate.h GtkLabelAccessible: update state of links 2014-01-04 10:54:03 -05:00
gtklevelbaraccessible.c GtkLevelBar: Implement new AtkValue interface 2014-05-02 20:46:03 -04:00
gtklevelbaraccessible.h
gtklinkbuttonaccessible.c GtkLinkButtonAccessible: fix broken AtkHyperlink implementation 2014-01-04 10:54:03 -05:00
gtklinkbuttonaccessible.h
gtklistboxaccessible.c list box: Update accessible implementation 2014-04-06 01:44:36 -04:00
gtklistboxaccessible.h
gtklistboxaccessibleprivate.h list box: Update accessible implementation 2014-04-06 01:44:36 -04:00
gtklistboxrowaccessible.c listboxrowaccessible: Avoid assertion failure 2014-08-03 02:48:26 +02:00
gtklistboxrowaccessible.h Add a GtkListBoxRow accessible 2013-09-21 20:51:22 -04:00
gtklockbuttonaccessible.c
gtklockbuttonaccessible.h
gtklockbuttonaccessibleprivate.h
gtkmenuaccessible.c
gtkmenuaccessible.h
gtkmenubuttonaccessible.c menu button: Improve accessibility 2015-03-13 18:38:18 -04:00
gtkmenubuttonaccessible.h Improve menubutton a11y 2013-12-20 13:31:08 -05:00
gtkmenuitemaccessible.c GtkMenuItemAccessible: use "insert" signal 2014-08-15 10:29:48 -04:00
gtkmenuitemaccessible.h
gtkmenushellaccessible.c
gtkmenushellaccessible.h
gtknotebookaccessible.c a11y: Drop obsolete focus tab handling in notebooks 2013-10-06 02:00:31 -04:00
gtknotebookaccessible.h
gtknotebookpageaccessible.c a11y: unref selected item only if it is not NULL 2014-07-25 10:03:24 +02:00
gtknotebookpageaccessible.h
gtkpanedaccessible.c GtkPaned: Implement new AtkValue interface 2014-05-02 20:46:17 -04:00
gtkpanedaccessible.h
gtkpopoveraccessible.c GtkPopover: Properly update a11y parent 2014-07-30 23:14:41 +02:00
gtkpopoveraccessible.h a11y: Add GtkPopopverAccessible 2014-03-10 23:02:14 +01:00
gtkprogressbaraccessible.c GtkProgressBar: Implement new AtkValue interface 2014-05-02 20:46:30 -04:00
gtkprogressbaraccessible.h
gtkradiobuttonaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkradiobuttonaccessible.h
gtkradiomenuitemaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkradiomenuitemaccessible.h
gtkrangeaccessible.c GtkRange: Implement new AtkValue interface 2014-05-02 20:46:45 -04:00
gtkrangeaccessible.h
gtkrenderercellaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkrenderercellaccessible.h
gtkscaleaccessible.c
gtkscaleaccessible.h
gtkscalebuttonaccessible.c GtkScaleButton: Implement new AtkValue interface 2014-05-02 20:47:00 -04:00
gtkscalebuttonaccessible.h
gtkscrolledwindowaccessible.c
gtkscrolledwindowaccessible.h
gtkspinbuttonaccessible.c spinbuttonaccessible: Inherit from GtkWidgetAccessible 2017-07-19 21:27:11 -04:00
gtkspinbuttonaccessible.h
gtkspinneraccessible.c
gtkspinneraccessible.h
gtkstackaccessible.c Include the appropriate headers 2016-10-17 11:10:14 +01:00
gtkstackaccessible.h Add GtkStackAccessible 2016-05-30 19:12:52 +02:00
gtkstackaccessibleprivate.h Include the appropriate headers 2016-10-17 11:10:14 +01:00
gtkstatusbaraccessible.c
gtkstatusbaraccessible.h
gtkswitchaccessible.c a11y: Remove default description from GtkSwitch 2013-09-12 11:52:51 +02:00
gtkswitchaccessible.h
gtktextcellaccessible.c treeview: Remove gtk_tree_view_get_bin_window() 2017-01-08 00:48:12 +01:00
gtktextcellaccessible.h
gtktextviewaccessible.c Use GdkRGBA for text attributes 2016-11-01 13:58:10 -04:00
gtktextviewaccessible.h
gtktextviewaccessibleprivate.h
gtktogglebuttonaccessible.c togglebutton: Move :inconsistent to GtkCheckButton 2017-01-30 18:11:00 +01:00
gtktogglebuttonaccessible.h
gtktoplevelaccessible.c a11y: Remove check for GtkEventBox 2017-08-02 16:58:05 +01:00
gtktoplevelaccessible.h
gtktreeviewaccessible.c treeviewaccessible: Don't rely on nonexistent style properties 2017-07-19 21:27:14 -04:00
gtktreeviewaccessible.h
gtktreeviewaccessibleprivate.h
gtkwidgetaccessible.c widget accessible: Use GdkEvent API 2017-09-19 18:39:02 +02:00
gtkwidgetaccessible.h
gtkwidgetaccessibleprivate.h
gtkwindowaccessible.c window accessible: Use GdkEvent API 2017-09-19 18:39:02 +02:00
gtkwindowaccessible.h
meson.build meson: gtk: install headers 2017-05-03 15:10:54 +01:00