summaryrefslogtreecommitdiffstats
path: root/src/polyp/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp/internal.h')
-rw-r--r--src/polyp/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polyp/internal.h b/src/polyp/internal.h
index 578969ee..f0374b67 100644
--- a/src/polyp/internal.h
+++ b/src/polyp/internal.h
@@ -59,8 +59,8 @@ struct pa_context {
uint32_t csyncid;
uint32_t error;
pa_context_state_t state;
-
- void (*state_callback)(pa_context*c, void *userdata);
+
+ pa_context_notify_cb_t state_callback;
void *state_userdata;
void (*subscribe_callback)(pa_context *c, pa_subscription_event_type_t t, uint32_t idx, void *userdata);