From 613453b1095e325149b8d37e5731d415e1d5f9bd Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Thu, 31 Oct 2002 21:30:57 +0000 Subject: merging the gal-2 branch back to the trunk. merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471 --- widgets/table/e-table-scrolled.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'widgets/table/e-table-scrolled.c') diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c index 6bcc2cb008..080c685d6e 100644 --- a/widgets/table/e-table-scrolled.c +++ b/widgets/table/e-table-scrolled.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-table-scrolled.c * Copyright 2000, 2001, Ximian, Inc. * @@ -26,10 +26,10 @@ #include #include #include -#include +#include #include -#include -#include +#include +#include #include "e-table.h" #include "e-table-scrolled.h" @@ -188,13 +188,13 @@ ets_grab_focus (GtkWidget *widget) /* Focus handler for the scrolled ETable */ static gint -ets_focus (GtkContainer *container, GtkDirectionType direction) +ets_focus (GtkWidget *container, GtkDirectionType direction) { ETableScrolled *ets; ets = E_TABLE_SCROLLED (container); - return gtk_container_focus (GTK_CONTAINER (ets->table), direction); + return gtk_widget_child_focus (GTK_WIDGET (ets->table), direction); } static void @@ -214,7 +214,7 @@ e_table_scrolled_class_init (ETableScrolledClass *class) widget_class->grab_focus = ets_grab_focus; - container_class->focus = ets_focus; + widget_class->focus = ets_focus; gtk_object_add_arg_type ("ETableScrolled::table", GTK_TYPE_OBJECT, GTK_ARG_READABLE, ARG_TABLE); -- cgit v1.2.3