[mutter] surface-actor/wayland: Minor style fixes



commit 0162cdf8ef21d04003700f3c30490913cba44f29
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Dec 22 14:19:38 2017 +0800

    surface-actor/wayland: Minor style fixes
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/5
    https://bugzilla.gnome.org/show_bug.cgi?id=791938

 src/compositor/meta-surface-actor-wayland.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/src/compositor/meta-surface-actor-wayland.c b/src/compositor/meta-surface-actor-wayland.c
index 551322573..fb4876141 100644
--- a/src/compositor/meta-surface-actor-wayland.c
+++ b/src/compositor/meta-surface-actor-wayland.c
@@ -38,18 +38,22 @@
 #include "backends/meta-backend-private.h"
 #include "compositor/region-utils.h"
 
-struct _MetaSurfaceActorWaylandPrivate
+typedef struct _MetaSurfaceActorWaylandPrivate
 {
   MetaWaylandSurface *surface;
   struct wl_list frame_callback_list;
-};
-typedef struct _MetaSurfaceActorWaylandPrivate MetaSurfaceActorWaylandPrivate;
+} MetaSurfaceActorWaylandPrivate;
 
-G_DEFINE_TYPE_WITH_PRIVATE (MetaSurfaceActorWayland, meta_surface_actor_wayland, META_TYPE_SURFACE_ACTOR)
+G_DEFINE_TYPE_WITH_PRIVATE (MetaSurfaceActorWayland,
+                            meta_surface_actor_wayland,
+                            META_TYPE_SURFACE_ACTOR)
 
 static void
 meta_surface_actor_wayland_process_damage (MetaSurfaceActor *actor,
-                                           int x, int y, int width, int height)
+                                           int               x,
+                                           int               y,
+                                           int               width,
+                                           int               height)
 {
 }
 


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