diff libpurple/log.h @ 16055:4f286fc9cdff

"delete" is a reserved word in C++, rename the "delete" member of PurpleLogLogger struct to "remove"
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 11 Apr 2007 12:02:45 +0000
parents 32c366eeeb99
children 516f14bef90e
line wrap: on
line diff
--- a/libpurple/log.h	Wed Apr 11 12:01:40 2007 +0000
+++ b/libpurple/log.h	Wed Apr 11 12:02:45 2007 +0000
@@ -105,7 +105,7 @@
 	void (*get_log_sets)(PurpleLogSetCallback cb, GHashTable *sets);
 
 	/* Attempts to delete the specified log, indicating success or failure */
-	gboolean (*delete)(PurpleLog *log);
+	gboolean (*remove)(PurpleLog *log);
 
 	/* Tests whether a log is deletable */
 	gboolean (*is_deletable)(PurpleLog *log);
@@ -472,7 +472,7 @@
  *                     functions are currently available (in order): @c create,
  *                     @c write, @c finalize, @c list, @c read, @c size,
  *                     @c total_size, @c list_syslog, @c get_log_sets,
- *                     @c delete, @c is_deletable.
+ *                     @c remove, @c is_deletable.
  *                     For details on these functions, see PurpleLogLogger.
  *                     Functions may not be skipped. For example, passing
  *                     @c create and @c write is acceptable (for a total of