From 66bac8c3e3069619f0f8b650d69b249ba55a751f Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Tue, 3 Dec 2013 15:52:15 +0800 Subject: [PATCH] free_pending_restore_data --> free_restore_pending_data This patch doesn't do any function change, but only the function name, to align its name with the struct RestorePendingData. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72254 Reviewed-by: Simon McVittie --- bus/activation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bus/activation.c b/bus/activation.c index d50f474..bdf9cf3 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -1044,7 +1044,7 @@ restore_pending (void *data) } static void -free_pending_restore_data (void *data) +free_restore_pending_data (void *data) { RestorePendingData *d = data; @@ -1074,9 +1074,9 @@ add_restore_pending_to_transaction (BusTransaction *transaction, if (d->hash_entry == NULL || !bus_transaction_add_cancel_hook (transaction, restore_pending, d, - free_pending_restore_data)) + free_restore_pending_data)) { - free_pending_restore_data (d); + free_restore_pending_data (d); return FALSE; } -- 2.7.4