[yelp] [tests/test-transform.c] Update for earlier changes in YelpTransform API



commit 59c2f288d04df55bece0edec73572aa21334dd57
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Apr 24 13:26:04 2010 -0500

    [tests/test-transform.c] Update for earlier changes in YelpTransform API

 tests/test-transform.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-transform.c b/tests/test-transform.c
index efda9b8..141a4ce 100644
--- a/tests/test-transform.c
+++ b/tests/test-transform.c
@@ -147,10 +147,8 @@ main (gint argc, gchar **argv)
     params[5] = "2";
     params[6] = NULL;
 
-    transform = yelp_transform_new ();
+    transform = yelp_transform_new (stylesheet);
     g_object_weak_ref ((GObject *) transform, transform_destroyed, NULL);
-    if (!yelp_transform_set_stylesheet (transform, stylesheet, NULL))
-	return 1;
 
     g_signal_connect (transform, "chunk-ready", (GCallback) transform_chunk, NULL);
     g_signal_connect (transform, "finished", (GCallback) transform_finished, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]