diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-07 16:23:06 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-07 16:23:06 +0000 |
commit | 79e2489fff356a800fbd0e0e4b44c1ed0581db6f (patch) | |
tree | 4f7c7321d86dec657e4b01d36d87c859c5f3990a /examples/cm | |
parent | 16fd2503313dce3775582977475d3f0c2e161585 (diff) |
Whitespace
Diffstat (limited to 'examples/cm')
-rw-r--r-- | examples/cm/echo-message-parts/im-manager.c | 40 | ||||
-rw-r--r-- | examples/cm/echo/im-manager.c | 40 |
2 files changed, 40 insertions, 40 deletions
diff --git a/examples/cm/echo-message-parts/im-manager.c b/examples/cm/echo-message-parts/im-manager.c index 1d5101cb7..5562b304b 100644 --- a/examples/cm/echo-message-parts/im-manager.c +++ b/examples/cm/echo-message-parts/im-manager.c @@ -178,8 +178,8 @@ example_echo_2_im_manager_close_all (ExampleEcho2ImManager *self) static void example_echo_2_im_manager_foreach_channel (TpChannelManager *iface, - TpExportableChannelFunc callback, - gpointer user_data) + TpExportableChannelFunc callback, + gpointer user_data) { ExampleEcho2ImManager *self = EXAMPLE_ECHO_2_IM_MANAGER (iface); GHashTableIter iter; @@ -278,28 +278,28 @@ example_echo_2_im_manager_foreach_channel_class (TpChannelManager *manager, TpChannelManagerChannelClassFunc func, gpointer user_data) { - GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal, - NULL, (GDestroyNotify) tp_g_value_slice_free); - GValue *value; + GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal, + NULL, (GDestroyNotify) tp_g_value_slice_free); + GValue *value; - value = tp_g_value_slice_new (G_TYPE_STRING); - g_value_set_static_string (value, TP_IFACE_CHANNEL_TYPE_TEXT); - g_hash_table_insert (table, TP_IFACE_CHANNEL ".ChannelType", value); + value = tp_g_value_slice_new (G_TYPE_STRING); + g_value_set_static_string (value, TP_IFACE_CHANNEL_TYPE_TEXT); + g_hash_table_insert (table, TP_IFACE_CHANNEL ".ChannelType", value); - value = tp_g_value_slice_new (G_TYPE_UINT); - g_value_set_uint (value, TP_HANDLE_TYPE_CONTACT); - g_hash_table_insert (table, TP_IFACE_CHANNEL ".TargetHandleType", value); + value = tp_g_value_slice_new (G_TYPE_UINT); + g_value_set_uint (value, TP_HANDLE_TYPE_CONTACT); + g_hash_table_insert (table, TP_IFACE_CHANNEL ".TargetHandleType", value); - func (manager, table, allowed_properties, user_data); + func (manager, table, allowed_properties, user_data); - g_hash_table_destroy (table); + g_hash_table_destroy (table); } static gboolean example_echo_2_im_manager_request (ExampleEcho2ImManager *self, - gpointer request_token, - GHashTable *request_properties, - gboolean require_new) + gpointer request_token, + GHashTable *request_properties, + gboolean require_new) { TpHandle handle; ExampleEcho2Channel *chan; @@ -358,8 +358,8 @@ error: static gboolean example_echo_2_im_manager_create_channel (TpChannelManager *manager, - gpointer request_token, - GHashTable *request_properties) + gpointer request_token, + GHashTable *request_properties) { return example_echo_2_im_manager_request (EXAMPLE_ECHO_2_IM_MANAGER (manager), request_token, request_properties, TRUE); @@ -367,8 +367,8 @@ example_echo_2_im_manager_create_channel (TpChannelManager *manager, static gboolean example_echo_2_im_manager_ensure_channel (TpChannelManager *manager, - gpointer request_token, - GHashTable *request_properties) + gpointer request_token, + GHashTable *request_properties) { return example_echo_2_im_manager_request (EXAMPLE_ECHO_2_IM_MANAGER (manager), request_token, request_properties, FALSE); diff --git a/examples/cm/echo/im-manager.c b/examples/cm/echo/im-manager.c index 95b90b8fb..9be183895 100644 --- a/examples/cm/echo/im-manager.c +++ b/examples/cm/echo/im-manager.c @@ -178,8 +178,8 @@ example_echo_im_manager_close_all (ExampleEchoImManager *self) static void example_echo_im_manager_foreach_channel (TpChannelManager *iface, - TpExportableChannelFunc callback, - gpointer user_data) + TpExportableChannelFunc callback, + gpointer user_data) { ExampleEchoImManager *self = EXAMPLE_ECHO_IM_MANAGER (iface); GHashTableIter iter; @@ -278,28 +278,28 @@ example_echo_im_manager_foreach_channel_class (TpChannelManager *manager, TpChannelManagerChannelClassFunc func, gpointer user_data) { - GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal, - NULL, (GDestroyNotify) tp_g_value_slice_free); - GValue *value; + GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal, + NULL, (GDestroyNotify) tp_g_value_slice_free); + GValue *value; - value = tp_g_value_slice_new (G_TYPE_STRING); - g_value_set_static_string (value, TP_IFACE_CHANNEL_TYPE_TEXT); - g_hash_table_insert (table, TP_IFACE_CHANNEL ".ChannelType", value); + value = tp_g_value_slice_new (G_TYPE_STRING); + g_value_set_static_string (value, TP_IFACE_CHANNEL_TYPE_TEXT); + g_hash_table_insert (table, TP_IFACE_CHANNEL ".ChannelType", value); - value = tp_g_value_slice_new (G_TYPE_UINT); - g_value_set_uint (value, TP_HANDLE_TYPE_CONTACT); - g_hash_table_insert (table, TP_IFACE_CHANNEL ".TargetHandleType", value); + value = tp_g_value_slice_new (G_TYPE_UINT); + g_value_set_uint (value, TP_HANDLE_TYPE_CONTACT); + g_hash_table_insert (table, TP_IFACE_CHANNEL ".TargetHandleType", value); - func (manager, table, allowed_properties, user_data); + func (manager, table, allowed_properties, user_data); - g_hash_table_destroy (table); + g_hash_table_destroy (table); } static gboolean example_echo_im_manager_request (ExampleEchoImManager *self, - gpointer request_token, - GHashTable *request_properties, - gboolean require_new) + gpointer request_token, + GHashTable *request_properties, + gboolean require_new) { TpHandle handle; ExampleEchoChannel *chan; @@ -358,8 +358,8 @@ error: static gboolean example_echo_im_manager_create_channel (TpChannelManager *manager, - gpointer request_token, - GHashTable *request_properties) + gpointer request_token, + GHashTable *request_properties) { return example_echo_im_manager_request (EXAMPLE_ECHO_IM_MANAGER (manager), request_token, request_properties, TRUE); @@ -367,8 +367,8 @@ example_echo_im_manager_create_channel (TpChannelManager *manager, static gboolean example_echo_im_manager_ensure_channel (TpChannelManager *manager, - gpointer request_token, - GHashTable *request_properties) + gpointer request_token, + GHashTable *request_properties) { return example_echo_im_manager_request (EXAMPLE_ECHO_IM_MANAGER (manager), request_token, request_properties, FALSE); |