summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-03-09 07:35:09 +0100
committerGravatar Martin Szulecki2010-03-09 10:23:44 +0100
commit7b976601048a8b613b0a7aaced5911868b7ba2bd (patch)
treecc846b1f27804df059346d47a205ddd4a8365fda /src/ideviceinstaller.c
parent375a10385cfb1267d57f6ea717b235c9e2978d5a (diff)
downloadideviceinstaller-7b976601048a8b613b0a7aaced5911868b7ba2bd.tar.gz
ideviceinstaller-7b976601048a8b613b0a7aaced5911868b7ba2bd.tar.bz2
Updated to work with latest notification proxy API change
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 808a1e9..ab62809 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -63,7 +63,7 @@ int err_occured = 0;
int notified = 0;
-static void notifier(const char *notification)
+static void notifier(const char *notification, void *unused)
{
/* printf("notification received: %s\n", notification);*/
notified = 1;
@@ -348,7 +348,7 @@ int main(int argc, char **argv)
goto leave_cleanup;
}
- np_set_notify_callback(np, notifier);
+ np_set_notify_callback(np, notifier, NULL);
const char *noties[3] = { NP_APP_INSTALLED, NP_APP_UNINSTALLED, NULL };