aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-01-04 17:54:26 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-01-04 17:54:26 +0800
commit8ed26c6a506feec75e37cf285450a23ac7c8a689 (patch)
tree3fce8657c7b88934ee5ab1d7addbba8738c5a59f /tests
parent8245a9b3fd56b10684498e9d1be3c71de5543456 (diff)
downloadgsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar.gz
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar.bz2
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar.lz
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar.xz
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.tar.zst
gsoc2013-epiphany-8ed26c6a506feec75e37cf285450a23ac7c8a689.zip
ephy-download: Make EphyDownload:window a construct only property
It's always set right after the download object is created and it doesn't have any effect when it's set after the download has been added to the embed shell. This way we can make sure that when the download is added to the embed shell the parent window has already been set if there's any.
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-download-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index 475aa0327..d2b986319 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -88,7 +88,7 @@ fixture_setup (Fixture *fixture, gconstpointer data)
dest_file = g_build_filename (ephy_file_tmp_dir (), tmp_filename, NULL);
fixture->source = get_uri_for_path ("/default");
- fixture->download = ephy_download_new_for_uri (fixture->source);
+ fixture->download = ephy_download_new_for_uri (fixture->source, NULL);
fixture->destination = g_filename_to_uri (dest_file, NULL, NULL);
fixture->loop = g_main_loop_new (NULL, TRUE);