diff -ur gtk+-2.2.4.orig/gtk/gtksocket.c gtk+-2.2.4/gtk/gtksocket.c
--- gtk+-2.2.4.orig/gtk/gtksocket.c	2003-10-06 20:42:48.679102912 -0400
+++ gtk+-2.2.4/gtk/gtksocket.c	2003-10-06 20:43:02.267037232 -0400
@@ -840,7 +840,7 @@
   if (socket->plug_widget)
     return gtk_widget_child_focus (socket->plug_widget, direction);
 
-  if (!GTK_WIDGET_HAS_FOCUS (widget))
+  if (!gtk_widget_is_focus (widget))
     {
       switch (direction)
 	{
