aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-13 15:11:32 -0600
committerTed Gould <ted@canonical.com>2009-02-13 15:11:32 -0600
commitebe1c53d131fbfbd5b2f8f1334a37f071574550b (patch)
tree45eeb88b2cc2484062ad38ef805fbef6ce1a9847
parent17d0da719073d551493e0082797bdbea5775062f (diff)
downloadlibayatana-indicator-ebe1c53d131fbfbd5b2f8f1334a37f071574550b.tar.gz
libayatana-indicator-ebe1c53d131fbfbd5b2f8f1334a37f071574550b.tar.bz2
libayatana-indicator-ebe1c53d131fbfbd5b2f8f1334a37f071574550b.zip
Ah, declared a variable in an if so that it didn't get out of scope. Like it should have. Bah.
-rw-r--r--libindicate/listener.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c
index b704236..3cc9111 100644
--- a/libindicate/listener.c
+++ b/libindicate/listener.c
@@ -846,15 +846,16 @@ property_cb (DBusGProxy * proxy, DBusGProxyCall * call, void * data)
static void
get_server_property (IndicateListener * listener, IndicateListenerServer * server, indicate_listener_get_server_property_cb callback, const gchar * property_name, gpointer data)
{
- /* g_debug("Setting up callback for property: %s", property_name); */
+ /* g_debug("Setting up callback for property %s on %s", property_name, INDICATE_LISTENER_SERVER_DBUS_NAME(server)); */
IndicateListenerPrivate * priv = INDICATE_LISTENER_GET_PRIVATE(listener);
proxy_t * proxyt = g_hash_table_lookup(priv->proxies_possible, server);
if (proxyt == NULL) {
- proxy_t * proxyt = g_hash_table_lookup(priv->proxies_working, server);
+ proxyt = g_hash_table_lookup(priv->proxies_working, server);
}
if (proxyt == NULL) {
+ g_warning("Can not find a proxy for the server at all.");
return;
}