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.
This commit is contained in:
Bastien Nocera 2013-10-17 00:24:45 +02:00
parent c2426adb4b
commit 34951c91ff
2 changed files with 0 additions and 25 deletions

View file

@ -121,26 +121,6 @@ up_client_get_devices (UpClient *client)
return g_ptr_array_ref (client->priv->array);
}
/**
* 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));

View file

@ -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);