diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2018-03-24 19:33:14 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2018-03-29 17:44:00 +0000 |
commit | 8519dbf1b68e3e03c75ba0002f50c07355e262c0 (patch) | |
tree | 2cbce03c2b6bb8e654ff26d1a8aeda46fea69547 /gtk/gtkimcontextime.c | |
parent | d1d94b86304136071bb38933bb77e2c7b5130593 (diff) | |
download | gtk+-8519dbf1b68e3e03c75ba0002f50c07355e262c0.tar.gz |
GDK W32: Adapt to the window->surface change
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Diffstat (limited to 'gtk/gtkimcontextime.c')
-rw-r--r-- | gtk/gtkimcontextime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontextime.c b/gtk/gtkimcontextime.c index 77f3b40ed4..ae382c26ae 100644 --- a/gtk/gtkimcontextime.c +++ b/gtk/gtkimcontextime.c @@ -156,7 +156,7 @@ gtk_im_context_ime_class_init (GtkIMContextIMEClass *class) static void gtk_im_context_ime_init (GtkIMContextIME *context_ime) { - context_ime->client_window = NULL; + context_ime->client_surface = NULL; context_ime->toplevel = NULL; context_ime->use_preedit = TRUE; context_ime->preediting = FALSE; @@ -184,7 +184,7 @@ gtk_im_context_ime_dispose (GObject *obj) GtkIMContext *context = GTK_IM_CONTEXT (obj); GtkIMContextIME *context_ime = GTK_IM_CONTEXT_IME (obj); - if (context_ime->client_window) + if (context_ime->client_surface) gtk_im_context_ime_set_client_widget (context, NULL); FREE_PREEDIT_BUFFER (context_ime); |