[gtk+/gtk-3-6] Avoid unreachable code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-6] Avoid unreachable code
- Date: Fri, 4 Jan 2013 00:08:59 +0000 (UTC)
commit c705d2df60d2f67f171db9de59095366adc70d06
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 29 23:08:24 2012 -0500
Avoid unreachable code
Reestablish an else that went missing in commit 5ff328d2. Without
it, the return is reached unconditionally, and the code behind
it is dead.
gtk/a11y/gtkwidgetaccessible.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/a11y/gtkwidgetaccessible.c b/gtk/a11y/gtkwidgetaccessible.c
index 9e8add7..52d7039 100644
--- a/gtk/a11y/gtkwidgetaccessible.c
+++ b/gtk/a11y/gtkwidgetaccessible.c
@@ -499,6 +499,7 @@ gtk_widget_accessible_notify_gtk (GObject *obj,
gtk_widget_accessible_update_tooltip (GTK_WIDGET_ACCESSIBLE (atk_obj),
widget);
}
+ else
return;
atk_object_notify_state_change (atk_obj, state, value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]