summaryrefslogtreecommitdiffstats
path: root/test/test-server.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-08-28 18:39:37 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-08-28 18:40:38 +0200
commit933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99 (patch)
tree5bc6ee9921031d3d27489c2b8133599940d4ac2b /test/test-server.c
parentc126f452df5d29acd0eee8e6ef9f7aaa4b0358a5 (diff)
downloadkiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.gz
kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.bz2
kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.xz
kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.zip
Fix #5: Added kiro_CLASS_new methods to all KIRO classes
Changed test software to use the new kiro_CLASS_new functions
Diffstat (limited to 'test/test-server.c')
-rw-r--r--test/test-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-server.c b/test/test-server.c
index 7755015..9161122 100644
--- a/test/test-server.c
+++ b/test/test-server.c
@@ -141,8 +141,8 @@ print_current_frame (gchar *buffer, guint number, guint width, guint height, GRa
int main(void)
{
- KiroServer *server = g_object_new(KIRO_TYPE_SERVER, NULL);
- KiroTrb *rb = g_object_new(KIRO_TYPE_TRB, NULL);
+ KiroServer *server = kiro_server_new ();
+ KiroTrb *rb = kiro_trb_new ();
kiro_trb_reshape(rb, 512*512, 15);
GRand *rand = g_rand_new();
if(0 > kiro_server_start(server, NULL, "60010", kiro_trb_get_raw_buffer(rb), kiro_trb_get_raw_size(rb)))