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 <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Chengwei Yang 2013-12-03 15:52:15 +08:00 committed by Simon McVittie
parent 911d803af1
commit 66bac8c3e3

View file

@ -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;
}