summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-19 19:58:36 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-21 14:59:02 +0100
commitb439cff820a2691405ee2b8c300a7448a6d25ec4 (patch)
treedf28465ba3706bea43220b8003ae233453d38ac1
parenta38ab857bb2d82f3692c8e3f0598bf2137fb5156 (diff)
Adjust TplLogEntry declaration so it gets documented correctly
-rw-r--r--telepathy-logger/log-entry.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/telepathy-logger/log-entry.h b/telepathy-logger/log-entry.h
index dc35a23df..6d62d7581 100644
--- a/telepathy-logger/log-entry.h
+++ b/telepathy-logger/log-entry.h
@@ -68,18 +68,19 @@ typedef enum
TPL_LOG_ENTRY_TEXT
} TplLogEntryType;
+typedef struct _TplLogEntry TplLogEntry;
+typedef struct _TplLogEntryClass TplLogEntryClass;
typedef struct _TplLogEntryPriv TplLogEntryPriv;
-typedef struct
+struct _TplLogEntry
{
GObject parent;
/* Private */
TplLogEntryPriv *priv;
-} TplLogEntry;
+};
-typedef struct
-{
+struct _TplLogEntryClass {
GObjectClass parent_class;
void (*dispose) (GObject *obj);
@@ -109,7 +110,7 @@ typedef struct
/* to be implemented only by subclasses */
gboolean (*equal) (TplLogEntry *entry1, TplLogEntry *entry2);
-} TplLogEntryClass;
+};
GType tpl_log_entry_get_type (void);
gint64 tpl_log_entry_get_timestamp (TplLogEntry *self);