From: Luca Bacci Date: Mon, 21 Feb 2022 11:40:54 +0000 (+0100) Subject: Win32 IME: Rename a variable X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~86^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6106207b93392f0b6923a2796e750c31e18c7a2c;p=gtk4.git Win32 IME: Rename a variable --- diff --git a/gtk/gtkimcontextime.c b/gtk/gtkimcontextime.c index 1fe4745fe5..6b84fc6b22 100644 --- a/gtk/gtkimcontextime.c +++ b/gtk/gtkimcontextime.c @@ -246,17 +246,17 @@ gtk_im_context_ime_set_client_widget (GtkIMContext *context, GtkWidget *widget) { GtkIMContextIME *context_ime; - GdkSurface *client_surface = NULL; + GdkSurface *surface = NULL; g_return_if_fail (GTK_IS_IM_CONTEXT_IME (context)); context_ime = GTK_IM_CONTEXT_IME (context); if (widget) - client_surface = gtk_native_get_surface (gtk_widget_get_native (widget)); + surface = gtk_native_get_surface (gtk_widget_get_native (widget)); - if (client_surface != NULL) + if (surface != NULL) { - HWND hwnd = gdk_win32_surface_get_impl_hwnd (client_surface); + HWND hwnd = gdk_win32_surface_get_impl_hwnd (surface); HIMC himc = ImmGetContext (hwnd); if (himc) { @@ -274,7 +274,7 @@ gtk_im_context_ime_set_client_widget (GtkIMContext *context, } context_ime->client_widget = widget; - context_ime->client_surface = client_surface; + context_ime->client_surface = surface; } static gunichar