summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-23 10:56:48 +0000
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-02-25 11:28:19 +1100
commit89d4e4c209f9816e695fd3e24a42be045d18504c (patch)
tree113c4219a99c2e812e795179b8c5f4ffc1d2ec4a
parentd1706e27c6ae372e93d6fffb2355364a822335c0 (diff)
downloadtelepathy-logger-89d4e4c209f9816e695fd3e24a42be045d18504c.tar.gz
TP style fixes
-rw-r--r--telepathy-logger/log-entry-text.c19
-rw-r--r--telepathy-logger/log-entry.c16
2 files changed, 20 insertions, 15 deletions
diff --git a/telepathy-logger/log-entry-text.c b/telepathy-logger/log-entry-text.c
index 772f194..d9d50f1 100644
--- a/telepathy-logger/log-entry-text.c
+++ b/telepathy-logger/log-entry-text.c
@@ -406,7 +406,8 @@ tpl_log_entry_text_get_receiver (TplLogEntryText *self)
void
-tpl_log_entry_text_set_timestamp (TplLogEntryText *self, time_t data)
+tpl_log_entry_text_set_timestamp (TplLogEntryText *self,
+ time_t data)
{
TplLogEntry *logentry = TPL_LOG_ENTRY (self);
TPL_LOG_ENTRY_GET_CLASS (self)->set_timestamp (logentry, data);
@@ -421,6 +422,7 @@ tpl_log_entry_text_set_signal_type (TplLogEntryText *self,
TPL_LOG_ENTRY_GET_CLASS (self)->set_signal_type (logentry, data);
}
+
void
tpl_log_entry_text_set_direction (TplLogEntryText *self,
TplLogEntryDirection data)
@@ -431,26 +433,29 @@ tpl_log_entry_text_set_direction (TplLogEntryText *self,
void
-tpl_log_entry_text_set_chat_id (TplLogEntryText *self, const gchar *data)
+tpl_log_entry_text_set_chat_id (TplLogEntryText *self,
+ const gchar *data)
{
TplLogEntry *logentry = TPL_LOG_ENTRY (self);
- TPL_LOG_ENTRY_GET_CLASS (self)->set_chat_id (logentry, data);
+ TPL_LOG_ENTRY_GET_CLASS (logentry)->set_chat_id (logentry, data);
}
void
-tpl_log_entry_text_set_sender (TplLogEntryText *self, TplContact *data)
+tpl_log_entry_text_set_sender (TplLogEntryText *self,
+ TplContact *data)
{
TplLogEntry *logentry = TPL_LOG_ENTRY (self);
- TPL_LOG_ENTRY_GET_CLASS (self)->set_sender (logentry, data);
+ TPL_LOG_ENTRY_GET_CLASS (logentry)->set_sender (logentry, data);
}
void
-tpl_log_entry_text_set_receiver (TplLogEntryText *self, TplContact *data)
+tpl_log_entry_text_set_receiver (TplLogEntryText *self,
+ TplContact *data)
{
TplLogEntry *logentry = TPL_LOG_ENTRY (self);
- TPL_LOG_ENTRY_GET_CLASS (self)->set_receiver (logentry, data);
+ TPL_LOG_ENTRY_GET_CLASS (logentry)->set_receiver (logentry, data);
}
diff --git a/telepathy-logger/log-entry.c b/telepathy-logger/log-entry.c
index 43adb22..ff96b89 100644
--- a/telepathy-logger/log-entry.c
+++ b/telepathy-logger/log-entry.c
@@ -411,7 +411,7 @@ tpl_log_entry_set_timestamp (TplLogEntry *self,
priv = GET_PRIV (self);
priv->timestamp = data;
- g_object_notify (G_OBJECT(self), "timestamp");
+ g_object_notify (G_OBJECT (self), "timestamp");
}
@@ -425,7 +425,7 @@ tpl_log_entry_set_signal_type (TplLogEntry *self,
priv = GET_PRIV (self);
priv->signal_type = data;
- g_object_notify (G_OBJECT(self), "signal-type");
+ g_object_notify (G_OBJECT (self), "signal-type");
}
/* set just on construction time */
@@ -439,7 +439,7 @@ tpl_log_entry_set_log_id (TplLogEntry *self,
priv = GET_PRIV (self);
priv->log_id = data;
- g_object_notify (G_OBJECT(self), "log-id");
+ g_object_notify (G_OBJECT (self), "log-id");
}
@@ -453,7 +453,7 @@ tpl_log_entry_set_direction (TplLogEntry *self,
priv = GET_PRIV (self);
priv->direction = data;
- g_object_notify (G_OBJECT(self), "direction");
+ g_object_notify (G_OBJECT (self), "direction");
}
@@ -471,7 +471,7 @@ tpl_log_entry_set_sender (TplLogEntry *self,
if (priv->sender != NULL)
g_object_unref (priv->sender);
priv->sender = g_object_ref (data);
- g_object_notify (G_OBJECT(self), "sender");
+ g_object_notify (G_OBJECT (self), "sender");
}
@@ -488,7 +488,7 @@ tpl_log_entry_set_receiver (TplLogEntry *self,
if (priv->receiver != NULL)
g_object_unref (priv->receiver);
priv->receiver = g_object_ref (data);
- g_object_notify (G_OBJECT(self), "receiver");
+ g_object_notify (G_OBJECT (self), "receiver");
}
@@ -505,7 +505,7 @@ tpl_log_entry_set_chat_id (TplLogEntry *self,
g_return_if_fail (priv->chat_id == NULL);
priv->chat_id = g_strdup (data);
- g_object_notify (G_OBJECT(self), "chat-id");
+ g_object_notify (G_OBJECT (self), "chat-id");
}
@@ -522,7 +522,7 @@ tpl_log_entry_set_account_path (TplLogEntry *self,
g_return_if_fail (priv->account_path == NULL);
priv->account_path = g_strdup (data);
- g_object_notify (G_OBJECT(self), "account-path");
+ g_object_notify (G_OBJECT (self), "account-path");
}