From 0162cdf8ef21d04003700f3c30490913cba44f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 22 Dec 2017 14:19:38 +0800 Subject: [PATCH] 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) { }