aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-11 20:22:25 -0600
committerTed Gould <ted@canonical.com>2009-02-11 20:22:25 -0600
commitef78255f9432f0498b589e7c3cb5c9fe20a8b44f (patch)
treee3cf78e00d0064d972427f90456980ec5a18b0bd /libindicate
parent609f0c83c117d38da4f4bb1f250f6624d3cbf9c5 (diff)
downloadlibayatana-indicator-ef78255f9432f0498b589e7c3cb5c9fe20a8b44f.tar.gz
libayatana-indicator-ef78255f9432f0498b589e7c3cb5c9fe20a8b44f.tar.bz2
libayatana-indicator-ef78255f9432f0498b589e7c3cb5c9fe20a8b44f.zip
Basically things are working as the proxyts are now findable.
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/listener.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c
index 7775c57..1041fb0 100644
--- a/libindicate/listener.c
+++ b/libindicate/listener.c
@@ -244,7 +244,7 @@ indicate_listener_finalize (GObject * obj)
IndicateListener *
indicate_listener_new (void)
{
- g_warning("Creating a new listener is general discouraged, please use indicate_listener_ref_default");
+ g_warning("Creating a new listener is generally discouraged, please use indicate_listener_ref_default");
IndicateListener * listener;
listener = g_object_new(INDICATE_TYPE_LISTENER, NULL);
@@ -451,10 +451,10 @@ todo_idle (gpointer data)
dbus_g_proxy_connect_signal(proxyt->proxy, "ServerShow",
G_CALLBACK(proxy_server_added), proxyt, NULL);
- indicate_listener_server_get_type(listener, (IndicateListenerServer *)proxyt->name, get_type_cb, proxyt);
-
g_hash_table_insert(priv->proxies_possible, proxyt->name, proxyt);
+ indicate_listener_server_get_type(listener, (IndicateListenerServer *)proxyt->name, get_type_cb, proxyt);
+
return TRUE;
}
@@ -732,15 +732,15 @@ typedef struct {
static void
property_cb (DBusGProxy * proxy, DBusGProxyCall * call, void * data)
{
- g_debug("Callback for property");
+ g_debug("Callback for property %s %s %s", dbus_g_proxy_get_bus_name(proxy), dbus_g_proxy_get_path(proxy), dbus_g_proxy_get_interface(proxy));
property_cb_t * propertyt = data;
GError * error = NULL;
- GValue property;
+ GValue property = {0};
dbus_g_proxy_end_call(proxy, call, &error, G_TYPE_VALUE, &property, G_TYPE_INVALID);
if (error != NULL) {
- g_warning("Unable to get property: %s", error->message);
+ /* g_warning("Unable to get property: %s", error->message); */
g_error_free(error);
g_free(propertyt);
return;