From 65c2326592b7b1496c468459689904843e443b26 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Thu, 20 Nov 2014 17:37:55 +0100 Subject: Release KIRO to GitHub under LGPL v2.1 Added kiro_*_free methods to all three units Added installation guide Added readme Added licence file --- test/test-server.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/test-server.c') diff --git a/test/test-server.c b/test/test-server.c index 64a25c9..dc277d5 100644 --- a/test/test-server.c +++ b/test/test-server.c @@ -126,7 +126,7 @@ print_current_frame (gchar *buffer, guint number, guint width, guint height, GRa x += DIGIT_WIDTH + 1; } - //Rainbow pattern is the same for every row. Just calculate one single + //Grayscale pattern is the same for every row. Just calculate one single //Scanline, so we can reuse it and dont have to do the whole calculation //for every row again. char default_line[width]; @@ -135,7 +135,7 @@ print_current_frame (gchar *buffer, guint number, guint width, guint height, GRa default_line[p] = (char) ((p * 256) / (width)); } - //Use memcpy to quickly fill every row with the precalculated rainbow + //Use memcpy to quickly fill every row with the precalculated grayscale //pattern for (guint y = 16; y < height; y++) { guint index = y * width; @@ -185,7 +185,7 @@ main (void) done: g_rand_free (rand); - g_object_unref (rb); - g_object_unref (server); + kiro_trb_free (rb); + kiro_server_free (server); return 0; -} \ No newline at end of file +} -- cgit v1.2.3