summaryrefslogtreecommitdiffstats
path: root/test/test-server.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-11-20 17:37:55 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2014-11-20 17:53:19 +0100
commit65c2326592b7b1496c468459689904843e443b26 (patch)
tree7dc907bc82227851bc8e13827ae25cbabcf9ba1f /test/test-server.c
parente71b75575658c435bc77c01ef098336c563af740 (diff)
downloadkiro-65c2326592b7b1496c468459689904843e443b26.tar.gz
kiro-65c2326592b7b1496c468459689904843e443b26.tar.bz2
kiro-65c2326592b7b1496c468459689904843e443b26.tar.xz
kiro-65c2326592b7b1496c468459689904843e443b26.zip
Release KIRO to GitHub under LGPL v2.1
Added kiro_*_free methods to all three units Added installation guide Added readme Added licence file
Diffstat (limited to 'test/test-server.c')
-rw-r--r--test/test-server.c10
1 files changed, 5 insertions, 5 deletions
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
+}