X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgfile.h;h=ea156d13b4869d6bb65ab08465dfe07a5f38aebe;hb=4eeac41d7dd9b75d2d44f5542f70d4f795a34333;hp=918f26a55ee6a75f4f70a01c52826e16e684ea18;hpb=73ca8b47540d005d5227c03aac143d6780da654c;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gfile.h b/gio/gfile.h index 918f26a..ea156d1 100644 --- a/gio/gfile.h +++ b/gio/gfile.h @@ -550,6 +550,9 @@ GType g_file_get_type (void) G_GNUC_CONST; GFile * g_file_new_for_path (const char *path); GFile * g_file_new_for_uri (const char *uri); GFile * g_file_new_for_commandline_arg (const char *arg); +GFile * g_file_new_tmp (const char *tmpl, + GFileIOStream **iostream, + GError **error); GFile * g_file_parse_name (const char *parse_name); GFile * g_file_dup (GFile *file); guint g_file_hash (gconstpointer file); @@ -869,16 +872,17 @@ void g_file_mount_mountable (GFile GFile * g_file_mount_mountable_finish (GFile *file, GAsyncResult *result, GError **error); -#ifndef G_DISABLE_DEPRECATED +GLIB_DEPRECATED_FOR(g_file_unmount_mountable_with_operation) void g_file_unmount_mountable (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GMountUnmountFlags flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +GLIB_DEPRECATED_FOR(g_file_unmount_mountable_with_operation_finish) gboolean g_file_unmount_mountable_finish (GFile *file, - GAsyncResult *result, - GError **error); -#endif + GAsyncResult *result, + GError **error); void g_file_unmount_mountable_with_operation (GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, @@ -888,16 +892,17 @@ void g_file_unmount_mountable_with_operation (GFile gboolean g_file_unmount_mountable_with_operation_finish (GFile *file, GAsyncResult *result, GError **error); -#ifndef G_DISABLE_DEPRECATED +GLIB_DEPRECATED_FOR(g_file_eject_mountable_with_operation) void g_file_eject_mountable (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GMountUnmountFlags flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +GLIB_DEPRECATED_FOR(g_file_eject_mountable_with_operation_finish) gboolean g_file_eject_mountable_finish (GFile *file, - GAsyncResult *result, - GError **error); -#endif + GAsyncResult *result, + GError **error); void g_file_eject_mountable_with_operation (GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation,