diff options
author | Stefano Karapetsas <[email protected]> | 2013-12-23 11:12:35 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-12-23 11:12:35 -0800 |
commit | 20847946a5c49a6d542125f43cb08cde63076298 (patch) | |
tree | 56382a6bef84279f246c3f57583426cf5746b646 /src/dropbox-client.c | |
parent | 70eddac907f86e49a09a82c026d942270a7a6be8 (diff) | |
parent | c744b6d79e93942bf872826bb777644963d7bf0f (diff) | |
download | caja-dropbox-20847946a5c49a6d542125f43cb08cde63076298.tar.bz2 caja-dropbox-20847946a5c49a6d542125f43cb08cde63076298.tar.xz |
Merge pull request #9 from infirit/whitespace
Remove all trailing whitespace
Diffstat (limited to 'src/dropbox-client.c')
-rw-r--r-- | src/dropbox-client.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/dropbox-client.c b/src/dropbox-client.c index 8563197..6a08da0 100644 --- a/src/dropbox-client.c +++ b/src/dropbox-client.c @@ -31,7 +31,7 @@ static void hook_on_connect(DropboxClient *dc) { dc->hook_connect_called = TRUE; - + if (dc->command_connect_called) { debug("client connection"); g_hook_list_invoke(&(dc->onconnect_hooklist), FALSE); @@ -43,7 +43,7 @@ hook_on_connect(DropboxClient *dc) { static void command_on_connect(DropboxClient *dc) { dc->command_connect_called = TRUE; - + if (dc->hook_connect_called) { debug("client connection"); g_hook_list_invoke(&(dc->onconnect_hooklist), FALSE); @@ -55,7 +55,7 @@ command_on_connect(DropboxClient *dc) { static void command_on_disconnect(DropboxClient *dc) { dc->command_disconnect_called = TRUE; - + if (dc->hook_disconnect_called) { debug("client disconnect"); g_hook_list_invoke(&(dc->ondisconnect_hooklist), FALSE); @@ -70,7 +70,7 @@ command_on_disconnect(DropboxClient *dc) { static void hook_on_disconnect(DropboxClient *dc) { dc->hook_disconnect_called = TRUE; - + if (dc->command_disconnect_called) { debug("client disconnect"); g_hook_list_invoke(&(dc->ondisconnect_hooklist), FALSE); @@ -109,18 +109,18 @@ dropbox_client_setup(DropboxClient *dc) { dc->hook_disconnect_called = dc->command_disconnect_called = FALSE; dc->hook_connect_called = dc->command_connect_called = FALSE; - caja_dropbox_hooks_add_on_connect_hook(&(dc->hookserv), + caja_dropbox_hooks_add_on_connect_hook(&(dc->hookserv), (DropboxHookClientConnectHook) hook_on_connect, dc); - + dropbox_command_client_add_on_connect_hook(&(dc->dcc), (DropboxCommandClientConnectHook) command_on_connect, dc); - - caja_dropbox_hooks_add_on_disconnect_hook(&(dc->hookserv), + + caja_dropbox_hooks_add_on_disconnect_hook(&(dc->hookserv), (DropboxHookClientConnectHook) hook_on_disconnect, dc); - + dropbox_command_client_add_on_disconnect_hook(&(dc->dcc), (DropboxCommandClientConnectHook) command_on_disconnect, dc); @@ -132,11 +132,11 @@ dropbox_client_add_on_disconnect_hook(DropboxClient *dc, DropboxClientConnectHook dhcch, gpointer ud) { GHook *newhook; - + newhook = g_hook_alloc(&(dc->ondisconnect_hooklist)); newhook->func = dhcch; newhook->data = ud; - + g_hook_append(&(dc->ondisconnect_hooklist), newhook); } @@ -146,11 +146,11 @@ dropbox_client_add_on_connect_hook(DropboxClient *dc, DropboxClientConnectHook dhcch, gpointer ud) { GHook *newhook; - + newhook = g_hook_alloc(&(dc->onconnect_hooklist)); newhook->func = dhcch; newhook->data = ud; - + g_hook_append(&(dc->onconnect_hooklist), newhook); } |