aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-canvas.h')
-rw-r--r--widgets/misc/e-canvas.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-canvas.h b/widgets/misc/e-canvas.h
index fb0d7398e7..2cda185ef3 100644
--- a/widgets/misc/e-canvas.h
+++ b/widgets/misc/e-canvas.h
@@ -24,7 +24,7 @@
#ifndef __E_CANVAS_H__
#define __E_CANVAS_H__
-#include <libgnomeui/gnome-canvas.h>
+#include <libgnomecanvas/gnome-canvas.h>
#ifdef __cplusplus
extern "C" {
@@ -88,10 +88,11 @@ struct _ECanvas
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
ECanvasItemGrabCancelled grab_cancelled_cb;
guint grab_cancelled_check_id;