[gupnp] Mark Context Manager specific symbols as internal



commit 06f3a48e6a0c73005dfc6a850b6bf54974b56170
Author: Andreas Henriksson <andreas fatal se>
Date:   Thu Apr 19 14:40:38 2012 +0200

    Mark Context Manager specific symbols as internal
    
    Different context managers exported different symbols.
    This made it impossible to switch between them without
    affecting the library ABI.
    
    Mark them as internal (and thus hiding them from the ABI).
    Noone should be using these symbols, so it should be safe.

 libgupnp/gupnp-linux-context-manager.h  |    2 +-
 libgupnp/gupnp-network-manager.h        |    4 ++--
 libgupnp/gupnp-simple-context-manager.h |    2 +-
 libgupnp/gupnp-unix-context-manager.h   |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.h b/libgupnp/gupnp-linux-context-manager.h
index 263258b..16eb404 100644
--- a/libgupnp/gupnp-linux-context-manager.h
+++ b/libgupnp/gupnp-linux-context-manager.h
@@ -26,7 +26,7 @@
 
 G_BEGIN_DECLS
 
-GType
+G_GNUC_INTERNAL GType
 gupnp_linux_context_manager_get_type (void) G_GNUC_CONST;
 
 #define GUPNP_TYPE_LINUX_CONTEXT_MANAGER \
diff --git a/libgupnp/gupnp-network-manager.h b/libgupnp/gupnp-network-manager.h
index f4aea35..af010d2 100644
--- a/libgupnp/gupnp-network-manager.h
+++ b/libgupnp/gupnp-network-manager.h
@@ -27,7 +27,7 @@
 
 G_BEGIN_DECLS
 
-GType
+G_GNUC_INTERNAL GType
 gupnp_network_manager_get_type (void) G_GNUC_CONST;
 
 #define GUPNP_TYPE_NETWORK_MANAGER \
@@ -69,7 +69,7 @@ typedef struct {
         void (* _gupnp_reserved4) (void);
 } GUPnPNetworkManagerClass;
 
-gboolean
+G_GNUC_INTERNAL gboolean
 gupnp_network_manager_is_available                      ();
 
 G_END_DECLS
diff --git a/libgupnp/gupnp-simple-context-manager.h b/libgupnp/gupnp-simple-context-manager.h
index c19aaaf..3dfe9c9 100644
--- a/libgupnp/gupnp-simple-context-manager.h
+++ b/libgupnp/gupnp-simple-context-manager.h
@@ -29,7 +29,7 @@
 
 G_BEGIN_DECLS
 
-GType
+G_GNUC_INTELNAL GType
 gupnp_simple_context_manager_get_type (void) G_GNUC_CONST;
 
 #define GUPNP_TYPE_SIMPLE_CONTEXT_MANAGER \
diff --git a/libgupnp/gupnp-unix-context-manager.h b/libgupnp/gupnp-unix-context-manager.h
index 5fea247..3da30ff 100644
--- a/libgupnp/gupnp-unix-context-manager.h
+++ b/libgupnp/gupnp-unix-context-manager.h
@@ -28,7 +28,7 @@
 
 G_BEGIN_DECLS
 
-GType
+G_GNUC_INTERNAL GType
 gupnp_unix_context_manager_get_type (void) G_GNUC_CONST;
 
 #define GUPNP_TYPE_UNIX_CONTEXT_MANAGER \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]