[gtk+] GtkCellAccessible: Add missing break statements
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkCellAccessible: Add missing break statements
- Date: Fri, 30 Nov 2012 04:28:02 +0000 (UTC)
commit 4557e4d7a5c4b7461910b6dd29bb2441ddd4e2d1
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 29 22:47:02 2012 -0500
GtkCellAccessible: Add missing break statements
This switch was entirely breakless. Amazing accessibility code,
found by Coverity.
gtk/a11y/gtkcellaccessible.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/a11y/gtkcellaccessible.c b/gtk/a11y/gtkcellaccessible.c
index 35b9424..46c5686 100644
--- a/gtk/a11y/gtkcellaccessible.c
+++ b/gtk/a11y/gtkcellaccessible.c
@@ -287,10 +287,13 @@ gtk_cell_accessible_action_do_action (AtkAction *action,
{
case 0:
_gtk_cell_accessible_parent_expand_collapse (parent, cell);
+ break;
case 1:
_gtk_cell_accessible_parent_edit (parent, cell);
+ break;
case 2:
_gtk_cell_accessible_parent_activate (parent, cell);
+ break;
default:
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]