Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK-version of Gargoyle crashes when choosing files from non-directory locations #200

Closed
GoogleCodeExporter opened this issue Mar 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

The GTK file-chooser dialog has a number of non-directory locations like 
"Recently Used" and "Search" which do not correspond to any physical directory. 
 Saving or loading a file through one of these locations, or even just 
selecting such a location and then cancelling the dialog, will crash the 
application (which is especially painful when saving, of course!)

The underlying cause is that gtk_file_chooser_get_current_folder() returns NULL 
for such locations, which garglk then tries to strcpy().  I've attached a 
simple patch to resolve the issue.

Original issue reported on code.google.com by znxfire...@gmail.com on 24 Jan 2013 at 2:41

Attachments:

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r611.

Original comment by cspiegel@gmail.com on 27 Mar 2013 at 6:35

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant