]> Pileus Git - ~andy/gtk/commit
[gail] Clean the code to check the redundan object on the show watcher
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 25 Dec 2010 23:43:02 +0000 (00:43 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 27 Dec 2010 15:23:55 +0000 (16:23 +0100)
commit586283ecbbfc0c5fb3354c07e978c680fe89f129
treed269ea679ddce85da8389f1abd309262f4eb16fe
parente1029b907c862435b0464b7105b22582a4fb25c8
[gail] Clean the code to check the redundan object on the show watcher

The watcher doesn't add a window if is a redundant object. This
patch fixes two things:

 * The check was made twice.
 * It uses a check with the string "redundant object", when the
   defined role ATK_ROLE_REDUNDANT_OBJECT is available
modules/other/gail/gailtoplevel.c