[libgepub] lib: Fix "enumeration value not handled in switch"



commit 71273412448ad5238f1bbec5e49a42ef09aa9004
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 21 18:15:52 2017 +0200

    lib: Fix "enumeration value not handled in switch"
    
    "enumeration value ‘GEPUBTextNormal’ not handled in switch"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784050

 libgepub/gepub-text-chunk.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgepub/gepub-text-chunk.c b/libgepub/gepub-text-chunk.c
index b422b2c..377bc53 100644
--- a/libgepub/gepub-text-chunk.c
+++ b/libgepub/gepub-text-chunk.c
@@ -81,6 +81,7 @@ gepub_text_chunk_type_str (GepubTextChunk *chunk)
             return "italic";
         case GEPUBTextHeader:
             return "header";
+        case GEPUBTextNormal:
         default:
             return "normal";
     }


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