[mutter/wip/carlosg/unthrottled-wayland: 6/23] clutter: Add missing G_GNUC_FALLTHROUGH




commit 84a9b7d050a64919924cfc5c28131bac4f678a68
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jun 4 16:37:52 2021 +0200

    clutter: Add missing G_GNUC_FALLTHROUGH
    
    We do actually fall through here, so let it known that it's intentional.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1915>

 clutter/clutter/clutter-main.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c
index 82bb7e4bd0..5c9f0421e7 100644
--- a/clutter/clutter/clutter-main.c
+++ b/clutter/clutter/clutter-main.c
@@ -1141,6 +1141,8 @@ _clutter_process_event_details (ClutterActor        *stage,
                                                              event->type == CLUTTER_BUTTON_PRESS);
               }
           }
+
+        G_GNUC_FALLTHROUGH;
       case CLUTTER_SCROLL:
       case CLUTTER_TOUCHPAD_PINCH:
       case CLUTTER_TOUCHPAD_SWIPE:


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