--- a/src/gtkui/gtkui.h Tue Jun 02 23:16:26 2009 +0000 +++ b/src/gtkui/gtkui.h Wed Jun 24 02:41:12 2009 +0000 @@ -88,8 +88,14 @@ typedef gboolean (*file_callback_t)( const gchar *filename ); -void open_file_dialog( const char *title, file_callback_t action, const char *pattern, const char *patname, +gchar *open_file_dialog( const char *title, const char *pattern, const char *patname, const gchar *initial_dir ); +gchar *save_file_dialog( const char *title, const char *pattern, const char *patname, + const gchar *initial_dir ); +void open_file_dialog_cb( const char *title, file_callback_t action, const char *pattern, const char *patname, + const gchar *initial_dir ); +void save_file_dialog_cb( const char *title, file_callback_t action, const char *pattern, const char *patname, + const gchar *initial_dir ); /** * Extract the keyval of the key event if no modifier keys were pressed - * in other words get the keyval of the key by itself. The other way around