mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* 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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user