summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-11 10:14:55 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-11 10:14:55 +0100
commit80c020e709328925bb85ede4c08c5818cc56310f (patch)
tree36917659ed39881677029958c9c31cb76c24f161 /tools
parentc85710d90547ea8529d4348d5ddb36bd28387443 (diff)
fix the signals in DkpClient
Diffstat (limited to 'tools')
-rw-r--r--tools/dkp-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dkp-client.c b/tools/dkp-client.c
index 9d5f56f..d82bdc0 100644
--- a/tools/dkp-client.c
+++ b/tools/dkp-client.c
@@ -130,7 +130,7 @@ dkp_client_added_cb (DBusGProxy *proxy, const gchar *object_path, DkpClient *cli
/* create new device */
device = dkp_client_add (client, object_path);
- g_signal_emit (device, signals [DKP_CLIENT_ADDED], 0, device);
+ g_signal_emit (client, signals [DKP_CLIENT_ADDED], 0, device);
}
/**
@@ -142,7 +142,7 @@ dkp_client_changed_cb (DBusGProxy *proxy, const gchar *object_path, DkpClient *c
DkpClientDevice *device;
device = dkp_client_get_device (client, object_path);
if (device != NULL)
- g_signal_emit (device, signals [DKP_CLIENT_CHANGED], 0, device);
+ g_signal_emit (client, signals [DKP_CLIENT_CHANGED], 0, device);
}
/**
@@ -154,7 +154,7 @@ dkp_client_removed_cb (DBusGProxy *proxy, const gchar *object_path, DkpClient *c
DkpClientDevice *device;
device = dkp_client_get_device (client, object_path);
if (device != NULL)
- g_signal_emit (device, signals [DKP_CLIENT_REMOVED], 0, device);
+ g_signal_emit (client, signals [DKP_CLIENT_REMOVED], 0, device);
dkp_client_remove (client, device);
}