aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-text/e-text.c4
-rw-r--r--widgets/text/e-text.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c
index da4e2ba64b..03c230feb0 100644
--- a/widgets/e-text/e-text.c
+++ b/widgets/e-text/e-text.c
@@ -2260,7 +2260,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
&& event->button.button == 1) {
GdkEventButton button = event->button;
- gnome_canvas_item_grab_focus (item);
+ e_canvas_item_grab_focus (item);
e_tep_event.type = GDK_BUTTON_PRESS;
e_tep_event.button.time = button.time;
@@ -2276,7 +2276,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
if ((!text->editing)
&& text->editable
&& event->button.button == 1) {
- gnome_canvas_item_grab_focus (item);
+ e_canvas_item_grab_focus (item);
}
#endif
if (text->editing) {
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index da4e2ba64b..03c230feb0 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -2260,7 +2260,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
&& event->button.button == 1) {
GdkEventButton button = event->button;
- gnome_canvas_item_grab_focus (item);
+ e_canvas_item_grab_focus (item);
e_tep_event.type = GDK_BUTTON_PRESS;
e_tep_event.button.time = button.time;
@@ -2276,7 +2276,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
if ((!text->editing)
&& text->editable
&& event->button.button == 1) {
- gnome_canvas_item_grab_focus (item);
+ e_canvas_item_grab_focus (item);
}
#endif
if (text->editing) {