diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-02-24 13:33:51 +1100 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-02-24 15:27:33 +1100 |
commit | da9f65aaee01424f21166961fa6896f63ee5c326 (patch) | |
tree | ead89a64c105f32951544c8a48cbbc326001fd49 | |
parent | 7df470ddbb913c57e1fe681685184a67ee0a1bc3 (diff) | |
download | telepathy-logger-da9f65aaee01424f21166961fa6896f63ee5c326.tar.gz |
Tp style fixes
-rw-r--r-- | telepathy-logger/channel-factory.c | 2 | ||||
-rw-r--r-- | telepathy-logger/conf.h | 6 | ||||
-rw-r--r-- | telepathy-logger/log-manager-priv.h | 2 | ||||
-rw-r--r-- | tests/test-searches.c | 2 | ||||
-rw-r--r-- | tests/tpl-channel-test.c | 3 |
5 files changed, 7 insertions, 8 deletions
diff --git a/telepathy-logger/channel-factory.c b/telepathy-logger/channel-factory.c index a2b39d7..ce52b89 100644 --- a/telepathy-logger/channel-factory.c +++ b/telepathy-logger/channel-factory.c @@ -97,7 +97,7 @@ tpl_channel_factory_build (const gchar *channel_type, chan_constructor = tpl_channel_factory_lookup (channel_type); if (chan_constructor == NULL) { - g_set_error(error, TPL_CHANNEL_FACTORY_ERROR, + g_set_error (error, TPL_CHANNEL_FACTORY_ERROR, TPL_CHANNEL_FACTORY_ERROR_CHANNEL_TYPE_NOT_HANDLED, "%s: channel type not handled by this logger", channel_type); return NULL; diff --git a/telepathy-logger/conf.h b/telepathy-logger/conf.h index f377644..eaeca6c 100644 --- a/telepathy-logger/conf.h +++ b/telepathy-logger/conf.h @@ -61,7 +61,7 @@ GType tpl_conf_get_type (void); TplConf *tpl_conf_dup (void); -GConfClient *tpl_conf_get_gconf_client(TplConf *self); +GConfClient *tpl_conf_get_gconf_client (TplConf *self); gboolean tpl_conf_is_globally_enabled (TplConf * self, GError **error); @@ -71,8 +71,8 @@ GSList *tpl_conf_get_accounts_ignorelist (TplConf * self, GError **error); void tpl_conf_globally_enable (TplConf *self, gboolean enable, GError **error); -void tpl_conf_set_accounts_ignorelist (TplConf *self, GSList *newlist, GError - **error); +void tpl_conf_set_accounts_ignorelist (TplConf *self, GSList *newlist, + GError **error); G_END_DECLS #endif // __TPL_CONF_H__ diff --git a/telepathy-logger/log-manager-priv.h b/telepathy-logger/log-manager-priv.h index 0822e6c..8290eb2 100644 --- a/telepathy-logger/log-manager-priv.h +++ b/telepathy-logger/log-manager-priv.h @@ -28,7 +28,7 @@ #include <telepathy-logger/log-store-factory.h> gboolean tpl_log_manager_add_message (TplLogManager *manager, - TplLogEntry *message, GError **error); + TplLogEntry *message, GError **error); void tpl_log_manager_add_message_async (TplLogManager *manager, TplLogEntry *message, GAsyncReadyCallback callback, gpointer user_data); diff --git a/tests/test-searches.c b/tests/test-searches.c index 8c64450..5d573c9 100644 --- a/tests/test-searches.c +++ b/tests/test-searches.c @@ -50,7 +50,7 @@ main (int argc, char *argv[]) } /* get the LogManager and register a non-default LogManager */ - manager = tpl_log_manager_dup_singleton(); + manager = tpl_log_manager_dup_singleton (); logstore = g_object_new (TPL_TYPE_LOG_STORE_EMPATHY, "name", "Empathy", NULL); tpl_log_manager_register_log_store (manager, logstore); diff --git a/tests/tpl-channel-test.c b/tests/tpl-channel-test.c index 02f0446..31080a1 100644 --- a/tests/tpl-channel-test.c +++ b/tests/tpl-channel-test.c @@ -117,8 +117,7 @@ call_when_ready_wrapper (TplChannel *tpl_chan, GAsyncReadyCallback cb, gpointer user_data) { - tpl_channel_test_call_when_ready( TPL_CHANNEL_TEST (tpl_chan), cb, - user_data); + tpl_channel_test_call_when_ready (TPL_CHANNEL_TEST (tpl_chan), cb, user_data); } void |