summaryrefslogtreecommitdiffstats
path: root/test/test-server.c
diff options
context:
space:
mode:
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
+}