[mutter] clutter/backend/x11: Fix some variable naming convention
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/backend/x11: Fix some variable naming convention
- Date: Sat, 13 Mar 2021 19:23:47 +0000 (UTC)
commit 353cdf52734399b8c916bbc100d8c730557e562f
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu Mar 11 21:51:39 2021 +0100
clutter/backend/x11: Fix some variable naming convention
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775>
src/backends/x11/meta-clutter-backend-x11.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/src/backends/x11/meta-clutter-backend-x11.c b/src/backends/x11/meta-clutter-backend-x11.c
index a8cd1bc90e..ed6b035fc4 100644
--- a/src/backends/x11/meta-clutter-backend-x11.c
+++ b/src/backends/x11/meta-clutter-backend-x11.c
@@ -78,24 +78,27 @@ meta_clutter_backend_x11_create_stage (ClutterBackend *backend,
}
static gboolean
-meta_clutter_backend_x11_translate_event (ClutterBackend *backend,
+meta_clutter_backend_x11_translate_event (ClutterBackend *clutter_backend,
gpointer native,
ClutterEvent *event)
{
- MetaClutterBackendX11 *backend_x11 = META_CLUTTER_BACKEND_X11 (backend);
+ MetaClutterBackendX11 *clutter_backend_x11 =
+ META_CLUTTER_BACKEND_X11 (clutter_backend);
MetaStageX11 *stage_x11;
ClutterBackendClass *clutter_backend_class;
clutter_backend_class =
CLUTTER_BACKEND_CLASS (meta_clutter_backend_x11_parent_class);
- if (clutter_backend_class->translate_event (backend, native, event))
+ if (clutter_backend_class->translate_event (clutter_backend, native, event))
return TRUE;
- stage_x11 = META_STAGE_X11 (clutter_backend_get_stage_window (backend));
+ stage_x11 =
+ META_STAGE_X11 (clutter_backend_get_stage_window (clutter_backend));
if (meta_stage_x11_translate_event (stage_x11, native, event))
return TRUE;
- if (meta_seat_x11_translate_event (backend_x11->core_seat, native, event))
+ if (meta_seat_x11_translate_event (clutter_backend_x11->core_seat,
+ native, event))
return TRUE;
return FALSE;
@@ -131,11 +134,12 @@ meta_clutter_backend_x11_init_events (ClutterBackend *backend)
}
static ClutterSeat *
-meta_clutter_backend_x11_get_default_seat (ClutterBackend *backend)
+meta_clutter_backend_x11_get_default_seat (ClutterBackend *clutter_backend)
{
- MetaClutterBackendX11 *backend_x11 = META_CLUTTER_BACKEND_X11 (backend);
+ MetaClutterBackendX11 *clutter_backend_x11 =
+ META_CLUTTER_BACKEND_X11 (clutter_backend);
- return CLUTTER_SEAT (backend_x11->core_seat);
+ return CLUTTER_SEAT (clutter_backend_x11->core_seat);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]