summaryrefslogtreecommitdiff
path: root/gtk/gtksocket.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 04:21:41 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-01 06:11:01 +0100
commit4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (patch)
treec9852655f9f10b27287cd09ae61082c033ca43c6 /gtk/gtksocket.c
parent64f526d34e1adc609944078e2fea38b2792f8230 (diff)
downloadgtk+-4232115e22c8ea41d6a3faf89bcaadfc9933d5e3.tar.gz
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
Use gtk_widget_has_focus() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
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);