From 3189d3bc4a7b5f3e92db14256e307e9a58071b2a Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 2 Jul 2011 02:01:39 +1000 Subject: Prefix alpm_transevt_t members with ALPM Signed-off-by: Allan McRae --- lib/libalpm/remove.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libalpm/remove.c') diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index ed9f2767..ec8ba119 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -147,7 +147,7 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) } if(!(trans->flags & ALPM_TRANS_FLAG_NODEPS)) { - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_START, NULL, NULL); + EVENT(trans, ALPM_TRANS_EVT_CHECKDEPS_START, NULL, NULL); _alpm_log(handle, ALPM_LOG_DEBUG, "looking for unsatisfied dependencies\n"); lp = alpm_checkdeps(handle, _alpm_db_get_pkgcache(db), trans->remove, NULL, 1); @@ -185,7 +185,7 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) } if(!(trans->flags & ALPM_TRANS_FLAG_NODEPS)) { - EVENT(trans, PM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); + EVENT(trans, ALPM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); } return 0; @@ -378,7 +378,7 @@ int _alpm_remove_packages(alpm_handle_t *handle) snprintf(scriptlet, PATH_MAX, "%s%s-%s/install", _alpm_db_path(handle->db_local), pkgname, alpm_pkg_get_version(info)); - EVENT(trans, PM_TRANS_EVT_REMOVE_START, info, NULL); + EVENT(trans, ALPM_TRANS_EVT_REMOVE_START, info, NULL); _alpm_log(handle, ALPM_LOG_DEBUG, "removing package %s-%s\n", pkgname, alpm_pkg_get_version(info)); @@ -446,7 +446,7 @@ int _alpm_remove_packages(alpm_handle_t *handle) pkgname); } - EVENT(trans, PM_TRANS_EVT_REMOVE_DONE, info, NULL); + EVENT(trans, ALPM_TRANS_EVT_REMOVE_DONE, info, NULL); } /* run ldconfig if it exists */ -- cgit v1.2.3-24-g4f1b