diff options
author | Larry Ewing <lewing@ximian.com> | 2003-04-02 13:46:33 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-04-02 13:46:33 +0800 |
commit | 2c96683a372275bdf788ffbab03176355c7c7dc3 (patch) | |
tree | 8272af9aebb916886acafc894954dcfe2cb7af9b /widgets/misc/e-canvas.h | |
parent | c3efd8d94344a2ad442dd9b0f98274dec1d731d8 (diff) | |
download | gsoc2013-evolution-2c96683a372275bdf788ffbab03176355c7c7dc3.tar.gz gsoc2013-evolution-2c96683a372275bdf788ffbab03176355c7c7dc3.tar.zst gsoc2013-evolution-2c96683a372275bdf788ffbab03176355c7c7dc3.zip |
move to using gtk_im_context.
2003-04-01 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-canvas.c: move to using gtk_im_context.
* gal/widgets/e-canvas.c: add im_context member.
svn path=/trunk/; revision=20634
Diffstat (limited to 'widgets/misc/e-canvas.h')
-rw-r--r-- | widgets/misc/e-canvas.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/widgets/misc/e-canvas.h b/widgets/misc/e-canvas.h index 5cdcc4ab90..092833430b 100644 --- a/widgets/misc/e-canvas.h +++ b/widgets/misc/e-canvas.h @@ -24,6 +24,7 @@ #ifndef __E_CANVAS_H__ #define __E_CANVAS_H__ +#include <gtk/gtkimcontext.h> #include <libgnomecanvas/gnome-canvas.h> #ifdef __cplusplus @@ -79,7 +80,6 @@ typedef void (*ECanvasItemGrabCancelled) (ECanvas *canvas, GnomeCanvasItem *item struct _ECanvas { GnomeCanvas parent; - int idle_id; GList *selection; ECanvasSelectionInfo *cursor; @@ -87,12 +87,11 @@ struct _ECanvas GtkWidget *tooltip_window; int visibility_notify_id; GtkWidget *toplevel; + guint visibility_first : 1; -#ifdef GAL_GDK_IM + /* Input context for dead key support */ - GdkIC *ic; - GdkICAttr *ic_attr; -#endif + GtkIMContext *im_context; ECanvasItemGrabCancelled grab_cancelled_cb; guint grab_cancelled_check_id; |