Fixes this warning running inside other terminal when closing the window if this preference is enabled: [when command exits "exit the terminal"]
** (mate-terminal:45473): CRITICAL **: 01:32:55.425: terminal_window_remove_screen: assertion 'gtk_widget_get_toplevel (GTK_WIDGET (screen)) == GTK_WIDGET (window)' failed
terminal-app.c:152:26: warning: passing argument 2 of ‘terminal_app_profile_list_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:153:29: warning: passing argument 2 of ‘terminal_app_default_profile_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:155:27: warning: passing argument 2 of ‘terminal_app_encoding_list_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:143:28: warning: passing argument 2 of ‘terminal_app_system_font_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:149:35: warning: passing argument 2 of ‘terminal_app_enable_menu_accels_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
terminal-app.c:146:30: warning: passing argument 2 of ‘terminal_app_enable_mnemonics_notify_cb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
Note that GTK+ sets a default title of _("About %s") on the dialog
window (where %s is replaced by the name of the application, but
in order to ensure proper translation of the title, applications
should set the title property explicitly when constructing a
GtkAboutDialog
https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
As a followup #149 this fixes the behavior of the code to match the
description of the respective gsettings entry "confirm-window-close".
Said entry is also updated to reflect the change added in #149.
No changes to the gsettings handling were made thus only users
who have "confirm-window-close" turned on already will see the
new behavior.