Method
MsgDriveServiceadd_item_to_folder
Declaration [src]
MsgDriveItem*
msg_drive_service_add_item_to_folder (
MsgDriveService* self,
MsgDriveItem* parent,
MsgDriveItem* item,
GCancellable* cancellable,
GError** error
)
Parameters
parent |
MsgDriveItem |
Parent drive item. |
|
| The data is owned by the caller of the function. | |
item |
MsgDriveItem |
Drive item to add. |
|
| The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A cancellable. |
|
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 |
A new drive item. |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |