summaryrefslogtreecommitdiff
path: root/gtk/gtksocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r--gtk/gtksocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index 9d468b8aaf..673e6f8bb8 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -693,7 +693,7 @@ gtk_socket_key_event (GtkWidget *widget,
{
GtkSocket *socket = GTK_SOCKET (widget);
- if (GTK_WIDGET_HAS_FOCUS (socket) && socket->plug_window && !socket->plug_widget)
+ if (gtk_widget_has_focus (widget) && socket->plug_window && !socket->plug_widget)
{
_gtk_socket_windowing_send_key_event (socket, (GdkEvent *) event, FALSE);