aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-calendar.c')
-rw-r--r--widgets/misc/e-calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c
index 920e83d3a3..44e4568656 100644
--- a/widgets/misc/e-calendar.c
+++ b/widgets/misc/e-calendar.c
@@ -578,7 +578,7 @@ e_calendar_focus (GtkWidget *widget, GtkDirectionType direction)
cal = E_CALENDAR (widget);
canvas = GNOME_CANVAS (widget);
- if (!GTK_WIDGET_CAN_FOCUS (widget))
+ if (!gtk_widget_get_can_focus (widget))
return FALSE;
children[0] = GNOME_CANVAS_ITEM (cal->calitem);