[gnome-screenshot] interactive-dialog: Add a missing break on a switch statement



commit 2853e94433ea23cbcd9f5418d6efd375f5dc65ed
Author: Rui Matos <tiagomatos gmail com>
Date:   Wed May 6 18:40:52 2015 +0200

    interactive-dialog: Add a missing break on a switch statement
    
    Otherwise if the border effect gsetting is vintage the combo box will
    show up as none.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749028

 src/screenshot-interactive-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/screenshot-interactive-dialog.c b/src/screenshot-interactive-dialog.c
index 61692a7..ce38056 100644
--- a/src/screenshot-interactive-dialog.c
+++ b/src/screenshot-interactive-dialog.c
@@ -204,6 +204,7 @@ create_effects_combo (void)
     case 'v': /* vintage */
       gtk_combo_box_set_active (GTK_COMBO_BOX (retval),
                                 SCREENSHOT_EFFECT_VINTAGE);
+      break;
     case 'n': /* none */
       gtk_combo_box_set_active (GTK_COMBO_BOX (retval),
                                 SCREENSHOT_EFFECT_NONE);


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