Use GtkApplication inhibit API

This will help prevent users from inadvertently loosing data when logging out
with unsaved files.

Based on: 05918e07ce
This commit is contained in:
JosephMcc
2017-04-23 18:22:54 -07:00
parent e9510c99f3
commit 4add4da97a
7 changed files with 112 additions and 32 deletions

View File

@@ -107,6 +107,8 @@ struct _XedWindowPrivate
gint height;
GdkWindowState window_state;
guint inhibition_cookie;
gint side_panel_size;
gint bottom_panel_size;