diff options
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r-- | gtk/gtktextbuffer.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 81b95f5d83..b75ba63503 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -4577,6 +4577,10 @@ _gtk_text_buffer_get_text_before (GtkTextBuffer *buffer, gtk_text_iter_forward_to_line_end (end); } break; + + default: + g_assert_not_reached (); + break; } } @@ -4678,6 +4682,10 @@ _gtk_text_buffer_get_text_at (GtkTextBuffer *buffer, } gtk_text_iter_forward_to_line_end (end); break; + + default: + g_assert_not_reached (); + break; } } @@ -4771,6 +4779,9 @@ _gtk_text_buffer_get_text_after (GtkTextBuffer *buffer, gtk_text_iter_forward_to_line_end (end); } break; + default: + g_assert_not_reached (); + break; } } |