mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
clutter/clutter-stage: Get rid of an unused variable warning
When building mutter with -Ddebug=false, a warning appears, that `ClutterStagePrivate *priv` is unused. Simply remove this variable and directly use `stage->priv` in `CLUTTER_NOTE` to get rid of this warning. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3046>
This commit is contained in:
parent
9a6ee5d7c7
commit
30a5178204
@ -3878,7 +3878,6 @@ clutter_stage_notify_grab_on_pointer_entry (ClutterStage *stage,
|
||||
ClutterActor *grab_actor,
|
||||
ClutterActor *old_grab_actor)
|
||||
{
|
||||
ClutterStagePrivate *priv = stage->priv;
|
||||
gboolean pointer_in_grab, pointer_in_old_grab;
|
||||
gboolean implicit_grab_cancelled = FALSE;
|
||||
ClutterEventType event_type = CLUTTER_NOTHING;
|
||||
@ -3947,7 +3946,7 @@ clutter_stage_notify_grab_on_pointer_entry (ClutterStage *stage,
|
||||
CLUTTER_NOTE (GRABS,
|
||||
"[grab=%p device=%p sequence=%p implicit_grab_cancelled=%d] "
|
||||
"Cancelled %u actors and actions on implicit grab due to new seat grab",
|
||||
priv->topmost_grab, device, sequence, implicit_grab_cancelled,
|
||||
stage->priv->topmost_grab, device, sequence, implicit_grab_cancelled,
|
||||
n_removed);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user