aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-canvas.c')
-rw-r--r--widgets/misc/e-canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index 5cf13a56ff..dee5d27b6d 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -701,7 +701,7 @@ e_canvas_unrealize (GtkWidget *widget)
ecanvas->idle_id = 0;
}
- gtk_im_context_set_client_window (ecanvas->im_context, widget->window);
+ gtk_im_context_set_client_window (ecanvas->im_context, NULL);
if (GTK_WIDGET_CLASS (parent_class)->unrealize)
(* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget);