openframeworks/openFrameworks — Issue #864: Issue with the linux version of ofSystemSaveDialog
Author: ljudoed
Created: 2012-01-04 08:13:04+00:00
State: open

The return value of gtkFileDialog is not assigned to results.filePath.

#if defined( TARGET_LINUX ) && defined (OF_USING_GTK)

- gtkFileDialog(GTK_FILE_CHOOSER_ACTION_SAVE, messageName,defaultName);
+ results.filePath = gtkFileDialog(GTK_FILE_CHOOSER_ACTION_SAVE, messageName,defaultName);

#endif