aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_view.c')
-rw-r--r--test/test_view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_view.c b/test/test_view.c
index a6af9f2..08e5255 100644
--- a/test/test_view.c
+++ b/test/test_view.c
@@ -5,10 +5,10 @@
#undef NDEBUG
-#include "test_utils.h"
+#include <puglutil/test_utils.h>
-#include "pugl/pugl.h"
-#include "pugl/stub.h"
+#include <pugl/pugl.h>
+#include <pugl/stub.h>
#include <assert.h>
#include <stdbool.h>
@@ -73,7 +73,7 @@ main(int argc, char** argv)
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256);
- puglSetPosition(test.view, 384, 640);
+ puglSetPositionHint(test.view, PUGL_DEFAULT_POSITION, 384, 640);
// Check basic accessors
assert(puglGetBackend(test.view) == puglStubBackend());