Lines Matching refs:destination
229 GFile *destination,
1564 * the destination when the stream is closed.
1929 copy_symlink (GFile *destination,
1944 if (!g_file_make_symbolic_link (destination, target, cancellable, &my_error))
1953 /* Don't overwrite if the destination is a directory */
1954 info = g_file_query_info (destination, G_FILE_ATTRIBUTE_STANDARD_TYPE,
1970 if (!g_file_delete (destination, cancellable, error))
1986 GFile *destination,
2012 info = g_file_query_info (destination, G_FILE_ATTRIBUTE_STANDARD_TYPE,
2124 * @destination: a #GFile to copy attributes to.
2129 * Copies the file attributes from @source to @destination.
2142 GFile *destination,
2160 attributes = g_file_query_settable_attributes (destination, cancellable, NULL);
2161 namespaces = g_file_query_writable_namespaces (destination, cancellable, NULL);
2181 res = g_file_set_attributes_from_info (destination,
2299 GFile *destination,
2328 if (!copy_symlink (destination, flags, cancellable, target, error))
2354 in = open_source_for_copy (source, destination, flags, cancellable, error);
2360 out = (GOutputStream *)g_file_replace (destination,
2368 out = (GOutputStream *)g_file_create (destination, 0, cancellable, error);
2385 g_file_copy_attributes (source, destination,
2394 * @destination: destination #GFile
2401 * Copies the file @source to the location specified by @destination.
2405 * existing @destination file is overwritten.
2422 * error is returned, independent on the status of the @destination.
2442 GFile *destination,
2454 g_return_val_if_fail (G_IS_FILE (destination), FALSE);
2459 iface = G_FILE_GET_IFACE (destination);
2463 res = (* iface->copy) (source, destination,
2480 /* If the types are different, and the destination method failed
2482 if (G_OBJECT_TYPE (source) != G_OBJECT_TYPE (destination))
2489 res = (* iface->copy) (source, destination,
2507 return file_copy_fallback (source, destination, flags, cancellable,
2515 * @destination: destination #GFile
2525 * Copies the file @source to the location specified by @destination
2537 GFile *destination,
2549 g_return_if_fail (G_IS_FILE (destination));
2553 destination,
2599 * @destination: #GFile pointing to the destination location.
2607 * Tries to move the file or directory @source to the location specified by @destination.
2613 * existing @destination file is overwritten.
2630 * error is returned, independent on the status of the @destination.
2647 GFile *destination,
2659 g_return_val_if_fail (G_IS_FILE (destination), FALSE);
2664 iface = G_FILE_GET_IFACE (destination);
2668 res = (* iface->move) (source, destination,
2683 /* If the types are different, and the destination method failed
2685 if (G_OBJECT_TYPE (source) != G_OBJECT_TYPE (destination))
2692 res = (* iface->move) (source, destination,
2717 if (!g_file_copy (source, destination, flags, cancellable,
4712 GFile *destination;
4723 g_object_unref (data->destination);
4790 data->destination,
4816 GFile *destination,
4830 data->destination = g_object_ref (destination);