aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-21 03:03:03 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-21 03:03:03 +0800
commit19c5a959120eb2fe9e0ab61d5626d9e30b18102d (patch)
treea81bacc58cfacac166951497acde9a2cbfb55025 /widgets/misc/e-canvas.c
parentb1263f7aa849523ce2ae8ae4f8eeec442969fa03 (diff)
downloadgsoc2013-evolution-19c5a959120eb2fe9e0ab61d5626d9e30b18102d.tar.gz
gsoc2013-evolution-19c5a959120eb2fe9e0ab61d5626d9e30b18102d.tar.zst
gsoc2013-evolution-19c5a959120eb2fe9e0ab61d5626d9e30b18102d.zip
Changed some of these gbooleans to be guint : 1s.
2001-10-20 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.h: Changed some of these gbooleans to be guint : 1s. * gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in event here to the new focused item instead of the old one. svn path=/trunk/; revision=13824
Diffstat (limited to 'widgets/misc/e-canvas.c')
-rw-r--r--widgets/misc/e-canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index 0e374d391c..ba7015757e 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -606,7 +606,7 @@ e_canvas_item_grab_focus (GnomeCanvasItem *item, gboolean widget_too)
gtk_widget_grab_focus (GTK_WIDGET (item->canvas));
}
- if (focused_item) {
+ if (item) {
ev.focus_change.type = GDK_FOCUS_CHANGE;
ev.focus_change.window = GTK_LAYOUT (item->canvas)->bin_window;
ev.focus_change.send_event = FALSE;