g_source_destroy (proxy->priv->notify_idle_src);
proxy->priv->notify_idle_src = NULL;
}
-
+
while (proxy->priv->pending_notifies) {
emit_notify_data_free (proxy->priv->pending_notifies->data);
proxy->priv->pending_notifies =
g_list_delete_link (proxy->priv->pending_notifies,
proxy->priv->pending_notifies);
}
-
+
/* Call super */
object_class = G_OBJECT_CLASS (gupnp_service_proxy_parent_class);
object_class->dispose (object);
* @proxy: A #GUPnPServiceProxy
* @action: An action
* @error: The location where to store any error, or %NULL
- * @Varargs: tuples of in parameter name, in parameter type, and in parameter
+ * @...: tuples of in parameter name, in parameter type, and in parameter
* value, followed by %NULL, and then tuples of out parameter name,
* out parameter type, and out parameter value location, terminated with %NULL
*
main_loop);
if (!handle) {
g_main_loop_unref (main_loop);
+ result = FALSE;
- return FALSE;
+ goto out;
}
/* Loop till we get a reply (or time out) */
} else {
g_propagate_error (error, local_error);
}
+out:
va_end (var_args_copy);
g_list_free_full (in_names, g_free);
g_list_free_full (in_values, value_free);
* @callback: (scope async): The callback to call when sending the action has succeeded
* or failed
* @user_data: User data for @callback
- * @Varargs: tuples of in parameter name, in parameter type, and in parameter
+ * @...: tuples of in parameter name, in parameter type, and in parameter
* value, terminated with %NULL
*
* Sends action @action with parameters @Varargs to the service exposed by
* @proxy: A #GUPnPServiceProxy
* @action: A #GUPnPServiceProxyAction handle
* @error: The location where to store any error, or %NULL
- * @Varargs: tuples of out parameter name, out parameter type, and out parameter
+ * @...: tuples of out parameter name, out parameter type, and out parameter
* value location, terminated with %NULL. The out parameter values should be
* freed after use
*
* in @out_values must be freed using #g_list_free and each element in it using
* #g_value_unset and #g_slice_free.
*
- * Return value : %TRUE on success.
+ * Returns: %TRUE on success.
**/
gboolean
gupnp_service_proxy_end_action_list (GUPnPServiceProxy *proxy,
g_source_unref (proxy->priv->notify_idle_src);
}
-
+
/* Everything went OK */
soup_message_set_status (msg, SOUP_STATUS_OK);
}