Use new init method in test app

This commit is contained in:
Keegan
2016-10-26 21:24:04 -07:00
parent ffd0ba64ec
commit 1aff0378f5
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -21,7 +21,8 @@
"aplite",
"basalt",
"chalk",
"diorite"
"diorite",
"emery"
],
"watchapp": {
"watchface": false
+2 -3
View File
@@ -28,12 +28,11 @@ static void prv_window_load(Window *window) {
static void prv_init(void) {
const ClayCallbacks clay_callbacks = (ClayCallbacks) {
const ClayCallbacks clay_callbacks = {
.settings_updated = prv_clay_updated_handler,
};
clay_register_callbacks(&clay_callbacks, NULL);
clay_init(CLAY_INBOX_SIZE);
clay_init(CLAY_INBOX_SIZE, &clay_callbacks, NULL);
s_window = window_create();
window_set_window_handlers(s_window, (WindowHandlers) {