Method
MsgDriveServicerename
Declaration [src]
MsgDriveItem*
msg_drive_service_rename (
MsgDriveService* self,
MsgDriveItem* item,
const char* new_name,
GCancellable* cancellable,
GError** error
)
Parameters
item |
MsgDriveItem |
A |
|
| The data is owned by the caller of the function. | |
new_name |
const char* |
New name of item. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | MsgDriveItem |
The renamed |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |