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 Rename and clean up gailutil 2012-12-27 11:27:45 -05:00
gtkbooleancellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkbooleancellaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkbuttonaccessible.c Remove GtkAlignment 2016-10-18 00:29:19 +02:00
gtkbuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkcolorswatchaccessible.c Emit a11y state change notification for color swatches 2014-01-05 10:54:43 -05:00
gtkcolorswatchaccessibleprivate.h Rename gtkcolorswatchaccessible.h 2012-12-27 12:11:12 -05:00
gtkcomboboxaccessible.c Revert "a11y: Remove AtkSelection implementation from combobox" 2013-09-16 15:41:15 +02:00
gtkcomboboxaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkcontaineraccessible.c GtkContainerAccessible: avoid resurrecting accessibles 2014-10-14 23:58:37 -04:00
gtkcontaineraccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkentryaccessible.c entry accessible: Give up on GdkEvent api for now 2017-09-19 18:39:03 +02:00
gtkentryaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkexpanderaccessible.c Improve AtkAction implementations 2013-02-04 00:57:46 -05:00
gtkexpanderaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Cosmetics 2012-12-27 11:27:44 -05:00
gtkframeaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkiconviewaccessible.c a11y: atk_component_get_position is deprecated 2014-04-01 21:40:23 -04:00
gtkiconviewaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkiconviewaccessibleprivate.h Fix inter-header includes 2012-12-27 12:04:01 -05:00
gtkimageaccessible.c build: Enable -Wswitch-enum and -Wswitch-default 2017-10-06 21:23:39 +02:00
gtkimageaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkimagecellaccessible.c a11y: atk_component_get_position is deprecated 2014-04-01 21:40:23 -04:00
gtkimagecellaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtklabelaccessible.c GtkLabelAccessible: Initialize link before setting parent 2016-11-23 18:55:42 -05:00
gtklabelaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtklinkbuttonaccessible.c GtkLinkButtonAccessible: fix broken AtkHyperlink implementation 2014-01-04 10:54:03 -05:00
gtklinkbuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtklistboxaccessible.c list box: Update accessible implementation 2014-04-06 01:44:36 -04:00
gtklistboxaccessible.h Add GtkListBox 2013-06-13 12:17:06 +02:00
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 Cosmetics 2012-12-27 11:27:44 -05:00
gtklockbuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtklockbuttonaccessibleprivate.h Fix inter-header includes 2012-12-27 12:04:01 -05:00
gtkmenuaccessible.c Cosmetics 2012-12-27 11:27:44 -05:00
gtkmenuaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkmenushellaccessible.c Cosmetics 2012-12-27 11:27:44 -05:00
gtkmenushellaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtknotebookaccessible.c a11y: Drop obsolete focus tab handling in notebooks 2013-10-06 02:00:31 -04:00
gtknotebookaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtknotebookpageaccessible.c a11y: unref selected item only if it is not NULL 2014-07-25 10:03:24 +02:00
gtknotebookpageaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkpanedaccessible.c GtkPaned: Implement new AtkValue interface 2014-05-02 20:46:17 -04:00
gtkpanedaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkradiobuttonaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkradiobuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkradiomenuitemaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkradiomenuitemaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkrangeaccessible.c GtkRange: Implement new AtkValue interface 2014-05-02 20:46:45 -04:00
gtkrangeaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkrenderercellaccessible.c a11y: Use new macros for defining private data 2013-07-09 09:28:49 +01:00
gtkrenderercellaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkscaleaccessible.c Cosmetics 2012-12-27 11:27:44 -05:00
gtkscaleaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkscalebuttonaccessible.c GtkScaleButton: Implement new AtkValue interface 2014-05-02 20:47:00 -04:00
gtkscalebuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkscrolledwindowaccessible.c Cosmetics 2012-12-27 11:27:44 -05:00
gtkscrolledwindowaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkspinbuttonaccessible.c spinbuttonaccessible: Inherit from GtkWidgetAccessible 2017-07-19 21:27:11 -04:00
gtkspinbuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkspinneraccessible.c Cosmetics 2012-12-27 11:27:44 -05:00
gtkspinneraccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
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 Cosmetics 2012-12-27 11:27:44 -05:00
gtkstatusbaraccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkswitchaccessible.c a11y: Remove default description from GtkSwitch 2013-09-12 11:52:51 +02:00
gtkswitchaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktextcellaccessible.c treeview: Remove gtk_tree_view_get_bin_window() 2017-01-08 00:48:12 +01:00
gtktextcellaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktextviewaccessible.c Use GdkRGBA for text attributes 2016-11-01 13:58:10 -04:00
gtktextviewaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktextviewaccessibleprivate.h Fix inter-header includes 2012-12-27 12:04:01 -05:00
gtktogglebuttonaccessible.c togglebutton: Move :inconsistent to GtkCheckButton 2017-01-30 18:11:00 +01:00
gtktogglebuttonaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktoplevelaccessible.c a11y: Remove check for GtkEventBox 2017-08-02 16:58:05 +01:00
gtktoplevelaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktreeviewaccessible.c treeviewaccessible: Don't rely on nonexistent style properties 2017-07-19 21:27:14 -04:00
gtktreeviewaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtktreeviewaccessibleprivate.h Fix inter-header includes 2012-12-27 12:04:01 -05:00
gtkwidgetaccessible.c widget accessible: Use GdkEvent API 2017-09-19 18:39:02 +02:00
gtkwidgetaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
gtkwidgetaccessibleprivate.h Fix inter-header includes 2012-12-27 12:04:01 -05:00
gtkwindowaccessible.c window accessible: Use GdkEvent API 2017-09-19 18:39:02 +02:00
gtkwindowaccessible.h Add annotations in a11y headers 2013-05-05 15:38:47 -04:00
meson.build meson: gtk: install headers 2017-05-03 15:10:54 +01:00