diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-17 00:24:45 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-17 00:37:20 +0200 |
commit | 34951c91ffd3d11537c03909723dcb03bbcc6221 (patch) | |
tree | 1426e01260b60ced1bd4369130b1d62b0ca7032b /libupower-glib | |
parent | c2426adb4b898ba33df38a249b3d6e413b76cc4d (diff) | |
download | upower-34951c91ffd3d11537c03909723dcb03bbcc6221.tar.gz |
lib: Remove unneeded up_client_get_properties_sync()
It doesn't do anything, and we already broke the ABI by removing
some functions, so remove this as well.
Diffstat (limited to 'libupower-glib')
-rw-r--r-- | libupower-glib/up-client.c | 22 | ||||
-rw-r--r-- | libupower-glib/up-client.h | 3 |
2 files changed, 0 insertions, 25 deletions
diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c index cfc6ce8..7243c8f 100644 --- a/libupower-glib/up-client.c +++ b/libupower-glib/up-client.c @@ -122,26 +122,6 @@ up_client_get_devices (UpClient *client) } /** - * up_client_get_properties_sync: - * @client: a #UpClient instance. - * @cancellable: a #GCancellable or %NULL - * @error: a #GError, or %NULL. - * - * Get all the properties from UPower daemon. - * - * Return value: %TRUE for success, else %FALSE. - * - * Since: 0.9.0 - **/ -gboolean -up_client_get_properties_sync (UpClient *client, GCancellable *cancellable, GError **error) -{ - /* This is not needed now that we used GDBus */ - g_return_val_if_fail (UP_IS_CLIENT (client), FALSE); - return TRUE; -} - -/** * up_client_get_daemon_version: * @client: a #UpClient instance. * @@ -340,8 +320,6 @@ up_client_get_property (GObject *object, UpClient *client; client = UP_CLIENT (object); - up_client_get_properties_sync (client, NULL, NULL); - switch (prop_id) { case PROP_DAEMON_VERSION: g_value_set_string (value, up_client_glue_get_daemon_version (client->priv->proxy)); diff --git a/libupower-glib/up-client.h b/libupower-glib/up-client.h index b8c927f..3c389d0 100644 --- a/libupower-glib/up-client.h +++ b/libupower-glib/up-client.h @@ -77,9 +77,6 @@ GType up_client_get_type (void); UpClient *up_client_new (void); /* sync versions */ -gboolean up_client_get_properties_sync (UpClient *client, - GCancellable *cancellable, - GError **error); gboolean up_client_enumerate_devices_sync (UpClient *client, GCancellable *cancellable, GError **error); |