aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-02 16:36:27 -0500
committerTed Gould <ted@canonical.com>2009-04-02 16:36:27 -0500
commit2f66ceb474f6d42368873742c99100b8c4ef62d4 (patch)
tree4b88313ee38b775c17a37bf048a0e9ee33a51023 /libindicate
parent5c9e92e513666fcffea8841d5b5005953c7f7d37 (diff)
downloadlibayatana-indicator-2f66ceb474f6d42368873742c99100b8c4ef62d4.tar.gz
libayatana-indicator-2f66ceb474f6d42368873742c99100b8c4ef62d4.tar.bz2
libayatana-indicator-2f66ceb474f6d42368873742c99100b8c4ef62d4.zip
Hiding debug
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/server.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libindicate/server.c b/libindicate/server.c
index 4346ae0..4e47040 100644
--- a/libindicate/server.c
+++ b/libindicate/server.c
@@ -429,13 +429,13 @@ indicate_server_hide (IndicateServer * server)
static void
dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, const gchar * new, IndicateServer * server)
{
- g_debug("DBus Owner change (%s, %s, %s)", name, prev, new);
+ /* g_debug("DBus Owner change (%s, %s, %s)", name, prev, new); */
if (prev == NULL || prev[0] == '\0') {
/* We only care about people leaving the bus */
return;
}
- g_debug("\tBeing removed, interesting");
+ /* g_debug("\tBeing removed, interesting"); */
IndicateServerPrivate * priv = INDICATE_SERVER_GET_PRIVATE(server);
IndicateServerInterestedFolk searchitem;
@@ -443,7 +443,7 @@ dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, c
GList * entry = g_list_find_custom(priv->interestedfolks, &searchitem, indicate_server_interested_folks_equal);
if (entry == NULL) {
- g_debug("\tWe don't have it, not interesting");
+ /* g_debug("\tWe don't have it, not interesting"); */
return;
}
@@ -458,16 +458,16 @@ dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, c
GList * listi = NULL;
for (listi = priv->interestedfolks ; listi != NULL ; listi = listi->next) {
IndicateServerInterestedFolk * folkpointer = (IndicateServerInterestedFolk *)listi->data;
- g_debug("\tRebuild list from folk: %s", folkpointer->sender);
+ /* g_debug("\tRebuild list from folk: %s", folkpointer->sender); */
indicate_server_interested_folks_copy(folkpointer, priv->interests);
}
for (i = INDICATE_INTEREST_NONE; i < INDICATE_INTEREST_LAST; i++) {
- g_debug("\tComparing interests. Interest: %d Folk: %d Everyone: %d", i, folk->interests[i], priv->interests[i]);
+ /* g_debug("\tComparing interests. Interest: %d Folk: %d Everyone: %d", i, folk->interests[i], priv->interests[i]); */
if (folk->interests[i] != priv->interests[i]) {
/* We can only remove interest here. Think about it for a
moment and I think you'll be cool with it. */
- g_debug("\tOh, and it was interested in %d. Not anymore.", i);
+ /* g_debug("\tOh, and it was interested in %d. Not anymore.", i); */
g_signal_emit(G_OBJECT(server), signals[INTEREST_REMOVED], 0, i, TRUE);
}
}
@@ -488,7 +488,7 @@ get_next_id (IndicateServer * server)
static gboolean
show_interest (IndicateServer * server, gchar * sender, IndicateInterests interest)
{
- g_debug("Someone is showing interest. %s in %d", sender, interest);
+ /* g_debug("Someone is showing interest. %s in %d", sender, interest); */
IndicateServerInterestedFolk localfolk;
localfolk.sender = sender;