diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-20 16:44:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-20 16:45:41 -0500 |
commit | 48b0a55775e3ccda3c933767808059be74b3a3d1 (patch) | |
tree | cc432c86a2319b7de5dddc39a4e057ffe8e9bdf9 /gtk/gtksocket.c | |
parent | bffd26e4762e0bc62b2ca5c7ce44d4f5a7ee522f (diff) | |
download | gtk+-48b0a55775e3ccda3c933767808059be74b3a3d1.tar.gz |
React to is-focus change, not ignore it
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index d88f756690..d20a567ece 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -916,9 +916,8 @@ static void gtk_socket_notify (GObject *object, GParamSpec *pspec) { - if (!strcmp (pspec->name, "is-focus")) - return; - socket_update_focus_in (GTK_SOCKET (object)); + if (strcmp (pspec->name, "is-focus") == 0) + socket_update_focus_in (GTK_SOCKET (object)); } /** |