[gtk+] Avoid unreachable code



commit 5b9c687595a464c010024a383e5c140b59fd6774
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]