--- a/gnt.h Thu Apr 17 01:29:28 2014 +0200
+++ b/gnt.h Sun Apr 20 18:13:36 2014 +0200
@@ -30,6 +30,20 @@
+# define NCURSES_WIDECHAR 0 +# define NCURSES_WIDECHAR 1 #include "gntclipboard.h"
--- a/gntbindable.h Thu Apr 17 01:29:28 2014 +0200
+++ b/gntbindable.h Sun Apr 20 18:13:36 2014 +0200
@@ -32,7 +32,6 @@
#define GNT_TYPE_BINDABLE (gnt_bindable_get_type())
#define GNT_BINDABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BINDABLE, GntBindable))
--- a/gntcolors.c Thu Apr 17 01:29:28 2014 +0200
+++ b/gntcolors.c Sun Apr 20 18:13:36 2014 +0200
@@ -20,10 +20,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
#define GNT_LOG_DOMAIN "Colors"
--- a/gntinternal.h Thu Apr 17 01:29:28 2014 +0200
+++ b/gntinternal.h Sun Apr 20 18:13:36 2014 +0200
@@ -19,7 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
#define G_LOG_DOMAIN "Gnt"
--- a/gntmain.c Thu Apr 17 01:29:28 2014 +0200
+++ b/gntmain.c Sun Apr 20 18:13:36 2014 +0200
@@ -30,7 +30,9 @@
@@ -339,6 +341,7 @@
@@ -356,6 +359,7 @@
exit_confirmed(gpointer null)
@@ -425,10 +429,12 @@
signal(SIGWINCH, sighandler);
signal(SIGCHLD, sighandler);
signal(SIGINT, sighandler);
@@ -508,9 +514,11 @@
org_winch_handler = signal(SIGWINCH, sighandler);
signal(SIGCHLD, sighandler);
+ signal(SIGPIPE, SIG_IGN); signal(SIGINT, sighandler);
- signal(SIGPIPE, SIG_IGN);
#if !GLIB_CHECK_VERSION(2, 36, 0)
/* GLib type system is automaticaly initialized since 2.36. */
@@ -696,7 +704,9 @@
cp->callback(status, cp->data);
wm->mode = GNT_KP_MODE_NORMAL;