[Telepathy-commits] [telepathy-mission-control/master] Don't export symbols if not needed

Alberto Mardegan alberto.mardegan at nokia.com
Mon Nov 17 00:05:27 PST 2008


As the API is far from stable, avoid exporting symbols that might not even be
needed.
---
 src/mcd-dispatch-operation.c |    4 ++--
 src/mcd-dispatch-operation.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index 6955696..c039490 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -349,8 +349,8 @@ mcd_dispatch_operation_init (McdDispatchOperation *operation)
 }
 
 McdDispatchOperation *
-mcd_dispatch_operation_new (TpDBusDaemon *dbus_daemon,
-                            GList *channels)
+_mcd_dispatch_operation_new (TpDBusDaemon *dbus_daemon,
+                             GList *channels)
 {
     gpointer *obj;
     obj = g_object_new (MCD_TYPE_DISPATCH_OPERATION,
diff --git a/src/mcd-dispatch-operation.h b/src/mcd-dispatch-operation.h
index 84963d6..49800aa 100644
--- a/src/mcd-dispatch-operation.h
+++ b/src/mcd-dispatch-operation.h
@@ -58,7 +58,7 @@ struct _McdDispatchOperationClass
 #define MC_DISPATCH_OPERATION_DBUS_OBJECT_BASE "/org/freedesktop/Telepathy/DispatchOperation/"
 
 GType mcd_dispatch_operation_get_type (void);
-McdDispatchOperation *mcd_dispatch_operation_new (TpDBusDaemon *dbus_daemon,
-                                                  GList *channels);
+McdDispatchOperation *_mcd_dispatch_operation_new (TpDBusDaemon *dbus_daemon,
+                                                   GList *channels);
 
 #endif
-- 
1.5.6.5




More information about the Telepathy-commits mailing list