diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-24 13:32:59 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-24 13:32:59 +0000 |
commit | 946bfe27846f2f4517285826f4d52939317144e4 (patch) | |
tree | 4d0e0725052d536166a7d842ad3585d4e4393fef /src | |
parent | c59b00eeb42ef72bcfa17f0adc7df882957a0c14 (diff) |
Remove unused handle parameter from add_file_transfer_channel_class()
Diffstat (limited to 'src')
-rw-r--r-- | src/ft-manager.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ft-manager.c b/src/ft-manager.c index ff7063449..72ba76bea 100644 --- a/src/ft-manager.c +++ b/src/ft-manager.c @@ -601,16 +601,13 @@ gabble_ft_manager_get_tmp_dir (GabbleFtManager *self) } static void -add_file_transfer_channel_class (GPtrArray *arr, - TpHandle handle) +add_file_transfer_channel_class (GPtrArray *arr) { GValue monster = {0, }; GHashTable *fixed_properties; GValue *channel_type_value; GValue *target_handle_type_value; - g_assert (handle != 0); - g_value_init (&monster, TP_STRUCT_TYPE_REQUESTABLE_CHANNEL_CLASS); g_value_take_boxed (&monster, dbus_g_type_specialized_construct ( @@ -643,12 +640,12 @@ add_file_transfer_channel_class (GPtrArray *arr, static void gabble_ft_manager_get_contact_caps ( GabbleCapsChannelManager *manager G_GNUC_UNUSED, - TpHandle handle, + TpHandle handle G_GNUC_UNUSED, const GabbleCapabilitySet *caps, GPtrArray *arr) { if (gabble_capability_set_has (caps, NS_FILE_TRANSFER)) - add_file_transfer_channel_class (arr, handle); + add_file_transfer_channel_class (arr); } static void |