summaryrefslogtreecommitdiff
path: root/libpurple/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/log.h')
-rw-r--r--libpurple/log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpurple/log.h b/libpurple/log.h
index 1e12844d5a..71939ecc9a 100644
--- a/libpurple/log.h
+++ b/libpurple/log.h
@@ -29,6 +29,7 @@
#include <stdio.h>
+#define PURPLE_TYPE_LOG (purple_log_get_type())
/********************************************************
* DATA STRUCTURES **************************************
@@ -189,6 +190,13 @@ G_BEGIN_DECLS
/*@{*/
/**
+ * Returns the GType for the PurpleLog boxed structure.
+ * TODO Boxing of PurpleLog is a temporary solution to having a GType for
+ * logs. This should rather be a GObject instead of a GBoxed.
+ */
+GType purple_log_get_type(void);
+
+/**
* Creates a new log
*
* @param type The type of log this is.