From 4e9d88aa05184e29368f1602b9fcb6a05d293095 Mon Sep 17 00:00:00 2001 From: Olivier Brunel Date: Fri, 10 Jan 2014 16:25:13 +0100 Subject: Rename ALPM_EVENT_OPTDEP_REQUIRED to _OPTDEP_REMOVAL Because this event is triggered when an optdepend for another package is being removed. Signed-off-by: Olivier Brunel Signed-off-by: Allan McRae --- lib/libalpm/remove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/remove.c') diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 899952b7..d78c5f1f 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -179,7 +179,7 @@ static void remove_notify_needed_optdepends(alpm_handle_t *handle, alpm_list_t * for(j = optdeps; j; j = alpm_list_next(j)) { alpm_depend_t *optdep = j->data; if(alpm_pkg_find(lp, optdep->name)) { - EVENT(handle, ALPM_EVENT_OPTDEP_REQUIRED, pkg, optdep); + EVENT(handle, ALPM_EVENT_OPTDEP_REMOVAL, pkg, optdep); } } } -- cgit v1.2.3-24-g4f1b