[gtk/matthiasc/for-master: 9/9] Fix the build with clang



commit 55217e2181cd86fd527852df43d0a8aef8eff667
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 10 11:55:46 2020 -0400

    Fix the build with clang
    
    clang doesn't allow G_GNUC_FALLBACK in dead code.
    Seems silly, but what can we do.

 gtk/gtkfilterlistmodel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilterlistmodel.c b/gtk/gtkfilterlistmodel.c
index 7bc679c9c8..387393cd69 100644
--- a/gtk/gtkfilterlistmodel.c
+++ b/gtk/gtkfilterlistmodel.c
@@ -494,7 +494,7 @@ gtk_filter_list_model_refilter (GtkFilterListModel *self,
           {
           default:
             g_assert_not_reached ();
-            G_GNUC_FALLTHROUGH;
+            /* fall thru */
           case GTK_FILTER_CHANGE_DIFFERENT:
             self->matches = gtk_bitset_new_empty ();
             pending = gtk_bitset_new_range (0, g_list_model_get_n_items (self->model));


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