Handle destruction of test shell properly.

When test shell's destructor runs, it tries to delete its child objects.
But when the GTK widgets are destroyed, they also try to delete the associated
objects.  We don't want both to run.

Also, there were a couple of incorrect uses of the GTK API (e.g. destroy-event
instead of destroy) that were obfuscating the problem.

This fixes a crash on shutdown, so I'm restoring the LoadURL() call in
TestShell's destructor.

Review URL: http://codereview.chromium.org/13214


git-svn-id: svn://svn.chromium.org/chrome/trunk@6475 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed
tree: 8b499d6312a9324ee5a259423c4c917d24827886
  1. depot_tools/
  2. deps/
  3. src/
  4. tools/