free_pending_restore_data --> free_restore_pending_data
authorChengwei Yang <chengwei.yang@intel.com>
Tue, 3 Dec 2013 07:52:15 +0000 (15:52 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 9 Sep 2014 13:25:13 +0000 (14:25 +0100)
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>
bus/activation.c

index d50f474..bdf9cf3 100644 (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;
     }