[gtk/win32-enable-werror: 6/10] win32: Add missing enum value to switch statement



commit b36b9323fc9e86a41369f008b255607452bb0d44
Author: Benjamin Otte <otte redhat com>
Date:   Tue May 21 07:17:44 2019 +0200

    win32: Add missing enum value to switch statement

 gtk/gtkprintoperation-win32.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 4f21c1f17f..ed6dfd797f 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1211,6 +1211,7 @@ dialog_from_print_settings (GtkPrintOperation *op,
       switch (print_pages)
        {
        default:
+       case GTK_PRINT_PAGES_SELECTION:
        case GTK_PRINT_PAGES_ALL:
          printdlgex->Flags |= PD_ALLPAGES;
          break;


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