* src/gnome/window-main.c

(gnc_main_window_restore): fix prototype (const-wise).

* src/gnome/window-main.h
(gnc_main_window_restore): fix prototype (const-wise).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4210 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning
2001-05-15 16:14:26 +00:00
parent 85f732f84f
commit cdc836b728
2 changed files with 4 additions and 2 deletions

View File

@@ -479,7 +479,8 @@ gnc_main_window_save(GNCMainInfo * wind, char * filename) {
********************************************************************/
void
gnc_main_window_restore(GNCMainInfo * wind, char * filename) {
gnc_main_window_restore(GNCMainInfo * wind, const char * filename)
{
char * encoded;
char * session_name;
gboolean old_format_file;

View File

@@ -54,7 +54,8 @@ typedef struct {
GNCMainInfo * gnc_main_window_new(void);
void gnc_main_window_destroy(GNCMainInfo * wind);
void gnc_main_window_save(GNCMainInfo * wind, char * session);
void gnc_main_window_restore(GNCMainInfo * wind, char * session);
void gnc_main_window_restore(GNCMainInfo * wind,
const char * session);
GtkWidget * gnc_main_window_get_toplevel(GNCMainInfo * wind);
void gnc_main_window_create_child_toolbar(GNCMainInfo * mi,
GNCMainChildInfo * child);