GNOME Bugzilla – Bug 652120
Simplify ephy_string_commandline_args_to_uris()
Last modified: 2011-06-08 16:31:35 UTC
Apparently, this code was originally written before there was GIO and GFile. Nowadays, it's hard to think of a reason why we would need to use realpath(3). This patch simplifies the ephy_string_commandline_args_to_uris() method by removing the redundant code and simply using g_file_query_exists() instead of realpath(). This bug depends on the attachment 189475 [details] [review] in bug 652119.
Created attachment 189477 [details] [review] Simplify ephy_string_commandline_args_to_uris() No need to use realpath(3), we're in 2011 now.
Review of attachment 189477 [details] [review]: Woot. ::: lib/ephy-string.c @@ +528,2 @@ } else { While you are at it you can fix this weird thing, I guess. The style is wrong.
I guess I added that in patch in attachment 189475 [details] [review]. I'll fix it there.
Attachment 189477 [details] pushed as 490f0b5 - Simplify ephy_string_commandline_args_to_uris()