mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 22:57:41 -04:00
Use new init method in test app
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user