aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/composite-test.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-20 13:20:24 +0000
committermarha <marha@users.sourceforge.net>2009-11-20 13:20:24 +0000
commit4ac4a5b7ce8cc8f195d69a42da10d386eaa5c056 (patch)
treefb29d9eeba83a773d22cf396d1b0a549fb95cc11 /pixman/test/composite-test.c
parent2e4def74ad9278c142d07ffa91f51035dc49cf77 (diff)
downloadvcxsrv-4ac4a5b7ce8cc8f195d69a42da10d386eaa5c056.tar.gz
vcxsrv-4ac4a5b7ce8cc8f195d69a42da10d386eaa5c056.tar.bz2
vcxsrv-4ac4a5b7ce8cc8f195d69a42da10d386eaa5c056.zip
Update to pixman-0.17.2
Diffstat (limited to 'pixman/test/composite-test.c')
-rw-r--r--pixman/test/composite-test.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pixman/test/composite-test.c b/pixman/test/composite-test.c
index 49e0220a4..5401abfdf 100644
--- a/pixman/test/composite-test.c
+++ b/pixman/test/composite-test.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
#define WIDTH 60
#define HEIGHT 60
@@ -77,6 +77,9 @@ writer (void *src, uint32_t value, int size)
case 4:
*(uint32_t *)src = value;
break;
+
+ default:
+ break;
}
}
@@ -113,7 +116,7 @@ main (int argc, char **argv)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_window_set_default_size (window, 800, 600);
+ gtk_window_set_default_size (GTK_WINDOW (window), 800, 600);
g_signal_connect (window, "delete-event",
G_CALLBACK (gtk_main_quit),