[Telepathy-commits] [telepathy-gabble/master] Caps: fix prototype for gabble_caps_channel_manager_update_capabilities

Alban Crequy alban.crequy at collabora.co.uk
Thu Nov 27 05:37:40 PST 2008


---
 src/caps-channel-manager.c  |    2 +-
 src/caps-channel-manager.h  |    2 +-
 src/private-tubes-factory.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/caps-channel-manager.c b/src/caps-channel-manager.c
index 7fa461a..b52ab7e 100644
--- a/src/caps-channel-manager.c
+++ b/src/caps-channel-manager.c
@@ -145,7 +145,7 @@ void gabble_caps_channel_manager_update_capabilities (
 {
   GabbleCapsChannelManagerIface *iface =
     GABBLE_CAPS_CHANNEL_MANAGER_GET_INTERFACE (caps_manager);
-  GabbleCapsChannelManagerCopyCapsFunc method = iface->update_caps;
+  GabbleCapsChannelManagerUpdateCapsFunc method = iface->update_caps;
 
   /* cannot be called if not implemented */
   g_assert (method != NULL);
diff --git a/src/caps-channel-manager.h b/src/caps-channel-manager.h
index 349ef68..76cdcdb 100644
--- a/src/caps-channel-manager.h
+++ b/src/caps-channel-manager.h
@@ -78,7 +78,7 @@ typedef void (*GabbleCapsChannelManagerCopyCapsFunc) (
     gpointer specific_caps_in);
 
 typedef void (*GabbleCapsChannelManagerUpdateCapsFunc) (
-    GabbleCapsChannelManager *manager, gpointer *specific_caps_out,
+    GabbleCapsChannelManager *manager, gpointer specific_caps_out,
     gpointer specific_caps_in);
 
 typedef gboolean (*GabbleCapsChannelManagerCapsDiffFunc) (
diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 078011f..df74820 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -646,7 +646,7 @@ gabble_private_tubes_factory_copy_caps (
 static void
 gabble_private_tubes_factory_update_caps (
     GabbleCapsChannelManager *manager,
-    gpointer *specific_caps_out,
+    gpointer specific_caps_out,
     gpointer specific_caps_in)
 {
   TubesCapabilities *caps_out = (TubesCapabilities *) specific_caps_out;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list