[gtk+/gtk-3-6] Add a forgotten break in render_border



commit b85098c819a7cebf944e227c98276638ca72a8ac
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 29 22:42:36 2012 -0500

    Add a forgotten break in render_border
    
    The GTK_BORDER_STYLE_DOUBLE case was clearly not meant to
    fall through to the subsequent cases, yet it did.
    Found by Coverity.

 gtk/gtkthemingengine.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 236ef3b..6f5f272 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1674,6 +1674,7 @@ render_border (cairo_t       *cr,
                                      border->left - other_border.left);
             render_frame_fill (cr, &other_box, &other_border, colors, dont_draw);
           }
+          break;
         case GTK_BORDER_STYLE_GROOVE:
         case GTK_BORDER_STYLE_RIDGE:
           {



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