[gtk: 3/5] Win32 IME: Rename a variable




commit 6106207b93392f0b6923a2796e750c31e18c7a2c
Author: Luca Bacci <luca bacci982 gmail com>
Date:   Mon Feb 21 12:40:54 2022 +0100

    Win32 IME: Rename a variable

 gtk/gtkimcontextime.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]