Skip to content

Commit

Permalink
print less log when applet is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Jul 10, 2015
1 parent 14e9384 commit eb3335a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nautilus-seafile/nautilus-seafile.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ static NautilusOperationResult seafile_extension_update_file_info (NautilusInfoP
(void)handle; /* unused */

client = seafile_rpc_get_instance ();
g_return_val_if_fail (client, NAUTILUS_OPERATION_COMPLETE);
if (!client)
{
return NAUTILUS_OPERATION_COMPLETE;
}
g_return_val_if_fail (file, NAUTILUS_OPERATION_FAILED);
g_return_val_if_fail (!nautilus_file_info_is_gone (file), NAUTILUS_OPERATION_COMPLETE);

Expand Down

0 comments on commit eb3335a

Please sign in to comment.