[gnome-shell] StTooltip: add missing break statement



commit 0d440bb0a2b3bb277533eb0177b3c7810bf544ea
Author: Ray Strode <rstrode redhat com>
Date:   Thu Apr 28 15:43:01 2011 -0400

    StTooltip: add missing break statement
    
    This commit is a small fix to prevent the
    tip area property setter code from erroneously
    falling through to the unhandled property case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648894

 src/st/st-tooltip.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-tooltip.c b/src/st/st-tooltip.c
index 70bc1a4..063ad37 100644
--- a/src/st/st-tooltip.c
+++ b/src/st/st-tooltip.c
@@ -91,6 +91,7 @@ st_tooltip_set_property (GObject      *gobject,
 
     case PROP_TIP_AREA:
       st_tooltip_set_tip_area (tooltip, g_value_get_boxed (value));
+      break;
 
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]