gtk4: Rename a variable to make more sense

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1032>
This commit is contained in:
Sebastian Dröge 2022-12-29 11:11:20 +02:00
parent f72540f5c2
commit 439ada614c

View file

@ -735,7 +735,7 @@ impl PaintableSink {
fn initialize_x11egl( fn initialize_x11egl(
&self, &self,
display: gdk::Display, display: gdk::Display,
display_ctx_guard: &mut Option<gst_gl::GLDisplay>, display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>, app_ctx_guard: &mut Option<gst_gl::GLContext>,
) { ) {
gst::info!( gst::info!(
@ -778,7 +778,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context, Some(gst_app_context) => gst_app_context,
}; };
display_ctx_guard.replace(gst_display); display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context); app_ctx_guard.replace(gst_app_context);
} }
} }
@ -787,7 +787,7 @@ impl PaintableSink {
fn initialize_x11glx( fn initialize_x11glx(
&self, &self,
display: gdk::Display, display: gdk::Display,
display_ctx_guard: &mut Option<gst_gl::GLDisplay>, display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>, app_ctx_guard: &mut Option<gst_gl::GLContext>,
) { ) {
gst::info!( gst::info!(
@ -830,7 +830,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context, Some(gst_app_context) => gst_app_context,
}; };
display_ctx_guard.replace(gst_display); display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context); app_ctx_guard.replace(gst_app_context);
} }
} }
@ -839,7 +839,7 @@ impl PaintableSink {
fn initialize_waylandegl( fn initialize_waylandegl(
&self, &self,
display: gdk::Display, display: gdk::Display,
display_ctx_guard: &mut Option<gst_gl::GLDisplay>, display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>, app_ctx_guard: &mut Option<gst_gl::GLContext>,
) { ) {
gst::info!( gst::info!(
@ -887,7 +887,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context, Some(gst_app_context) => gst_app_context,
}; };
display_ctx_guard.replace(gst_display); display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context); app_ctx_guard.replace(gst_app_context);
} }
} }
@ -896,7 +896,7 @@ impl PaintableSink {
fn initialize_macosgl( fn initialize_macosgl(
&self, &self,
display: gdk::Display, display: gdk::Display,
display_ctx_guard: &mut Option<gst_gl::GLDisplay>, display_guard: &mut Option<gst_gl::GLDisplay>,
app_ctx_guard: &mut Option<gst_gl::GLContext>, app_ctx_guard: &mut Option<gst_gl::GLContext>,
) { ) {
gst::info!( gst::info!(
@ -927,7 +927,7 @@ impl PaintableSink {
Some(gst_app_context) => gst_app_context, Some(gst_app_context) => gst_app_context,
}; };
display_ctx_guard.replace(gst_display); display_guard.replace(gst_display);
app_ctx_guard.replace(gst_app_context); app_ctx_guard.replace(gst_app_context);
} }
} }