projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quit the application after closing the last window
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-window.h
diff --git
a/src/ui/gui/psppire-window.h
b/src/ui/gui/psppire-window.h
index 835cef0b1fecf9a21cc459a9913ecc7d6fc40691..3d1873e402086efd9749c70aa9dfe96242ea297c 100644
(file)
--- a/
src/ui/gui/psppire-window.h
+++ b/
src/ui/gui/psppire-window.h
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008 Free Software Foundation
+ Copyright (C) 2008
, 2009
Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-56,6
+56,7
@@
struct _PsppireWindow
guint insert_handler;
guint remove_handler;
guint insert_handler;
guint remove_handler;
+ gboolean unsaved;
};
struct _PsppireWindowClass
};
struct _PsppireWindowClass
@@
-64,7
+65,6
@@
struct _PsppireWindowClass
};
GType psppire_window_get_type (void);
};
GType psppire_window_get_type (void);
-GtkWidget* psppire_window_new (void);
const gchar * psppire_window_get_filename (PsppireWindow *);
const gchar * psppire_window_get_filename (PsppireWindow *);
@@
-72,6
+72,9
@@
void psppire_window_set_filename (PsppireWindow *w, const gchar *filename);
void psppire_window_minimise_all (void);
void psppire_window_minimise_all (void);
+void psppire_window_set_unsaved (PsppireWindow *, gboolean );
+
+gboolean psppire_window_get_unsaved (PsppireWindow *);
G_END_DECLS
G_END_DECLS