Advertisement
Guest User

Untitled

a guest
May 21st, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. NautilusFile *orig_file;
  2. char *filename;
  3.  
  4. orig_file = nautilus_file_get_trash_original_file (file);
  5. filename = NULL;
  6.  
  7. if (orig_file != NULL)
  8. {
  9. filename = nautilus_file_get_parent_uri_for_display (orig_file);
  10. }
  11.  
  12. nautilus_file_unref (orig_file);
  13.  
  14. return filename;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement