[gtk/wip/otte/warnings: 3/6] textview: Add missing break statement



commit 25b4866407daf7e3c137ca2e4c805689211807c4
Author: Benjamin Otte <otte redhat com>
Date:   Sat Jan 26 14:30:06 2019 +0100

    textview: Add missing break statement

 gtk/gtktextlayout.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 51ac51a3b6..163d12479d 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -2038,6 +2038,7 @@ add_preedit_attrs (GtkTextLayout     *layout,
              if (appearance.strikethrough_rgba)
                gdk_rgba_free (appearance.strikethrough_rgba);
              appearance.strikethrough_rgba = gdk_rgba_copy (&rgba);
+             break;
             case PANGO_ATTR_RISE:
               appearance.rise = ((PangoAttrInt *)attr)->value;
               break;


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