[gvfs/wip/cosimoc/admin: 85/86] admin: fix indentation
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/cosimoc/admin: 85/86] admin: fix indentation
- Date: Tue, 28 Jun 2016 14:12:49 +0000 (UTC)
commit a6dcb58eb563918434483284a5b5114ce7b86483
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jun 28 07:11:01 2016 -0700
admin: fix indentation
daemon/gvfsbackendadmin.c | 35 +++++++++++++++++------------------
1 files changed, 17 insertions(+), 18 deletions(-)
---
diff --git a/daemon/gvfsbackendadmin.c b/daemon/gvfsbackendadmin.c
index 8d562f4..4107d6f 100644
--- a/daemon/gvfsbackendadmin.c
+++ b/daemon/gvfsbackendadmin.c
@@ -114,11 +114,11 @@ check_permission (GVfsBackendAdmin *self,
g_mutex_lock (&self->polkit_mutex);
subject = polkit_unix_process_new_for_owner (pid, 0, uid);
- result = polkit_authority_check_authorization_sync
- (self->authority, subject,
- "org.gtk.vfs.file-operations",
- NULL, POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION,
- NULL, &error);
+ result = polkit_authority_check_authorization_sync (self->authority,
+ subject,
+ "org.gtk.vfs.file-operations",
+ NULL,
POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION,
+ NULL, &error);
g_object_unref (subject);
g_mutex_unlock (&self->polkit_mutex);
@@ -185,14 +185,14 @@ do_query_info (GVfsBackend *backend,
* to determine permissions, which does not honor our privileged
* capabilities.
*/
- g_file_info_set_attribute_boolean
- (real_info, G_FILE_ATTRIBUTE_ACCESS_CAN_READ, TRUE);
- g_file_info_set_attribute_boolean
- (real_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE, TRUE);
- g_file_info_set_attribute_boolean
- (real_info, G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE, TRUE);
- g_file_info_set_attribute_boolean
- (real_info, G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME, TRUE);
+ g_file_info_set_attribute_boolean (real_info,
+ G_FILE_ATTRIBUTE_ACCESS_CAN_READ, TRUE);
+ g_file_info_set_attribute_boolean (real_info,
+ G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE, TRUE);
+ g_file_info_set_attribute_boolean (real_info,
+ G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE, TRUE);
+ g_file_info_set_attribute_boolean (real_info,
+ G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME, TRUE);
g_file_info_copy_into (real_info, info);
g_object_unref (real_info);
@@ -272,8 +272,8 @@ do_append_to (GVfsBackend *backend,
goto out;
set_open_for_write_attributes (open_write_job, stream);
- g_vfs_job_open_for_write_set_initial_offset
- (open_write_job, g_seekable_tell (G_SEEKABLE (stream)));
+ g_vfs_job_open_for_write_set_initial_offset (open_write_job,
+ g_seekable_tell (G_SEEKABLE (stream)));
out:
complete_job (job, error);
@@ -395,9 +395,8 @@ do_open_for_read (GVfsBackend *backend,
goto out;
g_vfs_job_open_for_read_set_handle (open_read_job, stream);
- g_vfs_job_open_for_read_set_can_seek
- (open_read_job,
- g_seekable_can_seek (G_SEEKABLE (stream)));
+ g_vfs_job_open_for_read_set_can_seek (open_read_job,
+ g_seekable_can_seek (G_SEEKABLE (stream)));
out:
complete_job (job, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]