summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2008-05-31 03:34:36 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2008-05-31 03:34:36 +0000
commit063e25eface7baec5cc0cc952cbadc493abf4249 (patch)
treee1deea20e87b2f2853025ff53de74b93fd3b7870 /test
parent1b1ae3c81188b496a51d209f940383a15ce6e95e (diff)
downloadnautilus-063e25eface7baec5cc0cc952cbadc493abf4249.tar.gz
Revert last commit as we do still need to deal with uris.
Fri May 30 23:33:17 2008 Søren Sandmann <sandmann@redhat.com> * Revert last commit as we do still need to deal with uris. svn path=/trunk/; revision=14213
Diffstat (limited to 'test')
-rw-r--r--test/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c
index df1a705b0..bd9065ecd 100644
--- a/test/test.c
+++ b/test/test.c
@@ -54,18 +54,18 @@ test_gtk_widget_set_background_image (GtkWidget *widget,
const char *image_name)
{
EelBackground *background;
- char *filename;
+ char *uri;
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (image_name != NULL);
background = eel_get_widget_background (widget);
- filename = g_strdup_printf ("%s/%s", NAUTILUS_DATADIR, image_name);
+ uri = g_strdup_printf ("file://%s/%s", NAUTILUS_DATADIR, image_name);
- eel_background_set_image_filename (background, filename);
+ eel_background_set_image_uri (background, uri);
- g_free (filename);
+ g_free (uri);
}
void