[gtk+] tests: Add missing break statements



commit d42ba8a82a3e94086239b8039b93678bdebc88db
Author: Benjamin Otte <otte redhat com>
Date:   Sun Mar 20 05:36:17 2016 +0100

    tests: Add missing break statements
    
    http://www.viva64.com/en/b/0383/

 tests/testselection.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testselection.c b/tests/testselection.c
index a0fd294..35d8887 100644
--- a/tests/testselection.c
+++ b/tests/testselection.c
@@ -185,8 +185,10 @@ selection_get (GtkWidget *widget,
     case COMPOUND_TEXT:
     case TEXT:
       type = seltypes[COMPOUND_TEXT];
+      break;
     case STRING:
       type = seltypes[STRING];
+      break;
     }
   
   gtk_selection_data_set (selection_data, type, 8, buffer, len);


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