From 72c913ff20b2e03a338cd50fc302d18a7a95f72f Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Thu, 29 Jun 2000 22:56:51 +0000 Subject: Add simple deadkey support. 2000-06-29 Jody Goldberg * e-canvas.c (e_canvas_init) : Init the InputContext members (e_canvas_class_init) : Add a handler for unrealize. (e_canvas_focus_in) : enable the input context. (e_canvas_focus_out) : enable the input context. (e_canvas_realize) : Create an input context. (e_canvas_unrealize) : New function to release the input context. svn path=/trunk/; revision=3817 --- widgets/misc/e-canvas.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/misc/e-canvas.h') diff --git a/widgets/misc/e-canvas.h b/widgets/misc/e-canvas.h index 06e3768e12..b13a9dd2ab 100644 --- a/widgets/misc/e-canvas.h +++ b/widgets/misc/e-canvas.h @@ -78,6 +78,10 @@ struct _ECanvas int idle_id; GList *selection; ECanvasSelectionInfo *cursor; + + /* Input context for dead key support */ + GdkIC *ic; + GdkICAttr *ic_attr; }; struct _ECanvasClass -- cgit