aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-05-10 06:12:01 +0800
committerChris Lahey <clahey@src.gnome.org>2002-05-10 06:12:01 +0800
commit57a877702667674f5ddb845c1c7d4378866c391c (patch)
treeb13644c59f3ea9743bc7dda63944b27d45192356 /widgets/text
parentc670e9d15bdaf3c99a42191e48fa315b80800c69 (diff)
downloadgsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar.gz
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar.bz2
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar.lz
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar.xz
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.tar.zst
gsoc2013-evolution-57a877702667674f5ddb845c1c7d4378866c391c.zip
Switch from gnome_canvas_item_grab to e_canvas_item_grab.
2002-05-09 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to e_canvas_item_grab. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h (e_canvas_item_grab, e_canvas_item_ungrab): Added these functions. From gal/e-table/ChangeLog: 2002-05-09 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Switched from gnome_canvas_item_grab to e_canvas_item_grab. svn path=/trunk/; revision=16738
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 66c4eb85b6..1808477f65 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -3716,14 +3716,19 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
text->select_by_word = command->value;
break;
case E_TEP_GRAB:
- gnome_canvas_item_grab (GNOME_CANVAS_ITEM(text),
- GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK,
- text->i_cursor,
- command->time);
+ e_canvas_item_grab (E_CANVAS (GNOME_CANVAS_ITEM(text)->canvas),
+ GNOME_CANVAS_ITEM(text),
+ GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK,
+ text->i_cursor,
+ command->time,
+ NULL,
+ NULL);
scroll = FALSE;
break;
case E_TEP_UNGRAB:
- gnome_canvas_item_ungrab (GNOME_CANVAS_ITEM(text), command->time);
+ e_canvas_item_ungrab (E_CANVAS (GNOME_CANVAS_ITEM(text)->canvas),
+ GNOME_CANVAS_ITEM(text),
+ command->time);
scroll = FALSE;
break;
case E_TEP_CAPS: