aboutsummaryrefslogtreecommitdiff
path: root/libindicate/listener.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-03 12:27:31 -0500
committerTed Gould <ted@canonical.com>2009-04-03 12:27:31 -0500
commitd93da3d5d79786e5402a8d70a30468e95e82d55b (patch)
tree5f336963096ec6b7cc11c40c387fc34494a18ffd /libindicate/listener.c
parenteb5078b8f0a60ef5d213ce84b3f1e67f615bd87e (diff)
downloadlibayatana-indicator-d93da3d5d79786e5402a8d70a30468e95e82d55b.tar.gz
libayatana-indicator-d93da3d5d79786e5402a8d70a30468e95e82d55b.tar.bz2
libayatana-indicator-d93da3d5d79786e5402a8d70a30468e95e82d55b.zip
Hiding all of the functions that part of the DBus interface in that
now they're all prefixed with '_' so that they don't get exported as part of the library symbols. This should simplify everything a little bit for implementors.
Diffstat (limited to 'libindicate/listener.c')
-rw-r--r--libindicate/listener.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c
index 92cb2da..0796bf1 100644
--- a/libindicate/listener.c
+++ b/libindicate/listener.c
@@ -32,7 +32,6 @@ License version 3 and version 2.1 along with this program. If not, see
#include <dbus/dbus-glib-bindings.h>
#include "dbus-indicate-client.h"
#include "dbus-listener-client.h"
-#include "dbus-listener-server.h"
/* Errors */
enum {
@@ -130,6 +129,12 @@ static void proxy_get_indicator_list (DBusGProxy * proxy, GArray * indicators, G
static void proxy_get_indicator_type (DBusGProxy * proxy, gchar * type, GError * error, gpointer data);
static void proxy_indicators_free (gpointer data);
+/* DBus interface */
+gboolean _indicate_listener_get_indicator_servers (IndicateListener * listener, GList * servers);
+
+/* Need the above prototypes */
+#include "dbus-listener-server.h"
+
/* Code */
static void
indicate_listener_class_init (IndicateListenerClass * class)
@@ -824,7 +829,7 @@ indicate_listener_get_property_icon (IndicateListener * listener, IndicateListen
}
gboolean
-indicate_listener_get_indicator_servers (IndicateListener * listener, GList * servers)
+_indicate_listener_get_indicator_servers (IndicateListener * listener, GList * servers)
{