initial patches for linux compatibility

This commit is contained in:
Berke Viktor
2011-12-11 17:34:02 +01:00
parent 2012320d0e
commit 132ef6cb50
44 changed files with 304 additions and 59 deletions

View File

@@ -24,6 +24,10 @@
#include <fcntl.h>
#include <ctype.h>
#ifndef WIN32
#include <unistd.h>
#endif
#include "fe-gtk.h"
#include <gtk/gtklabel.h>
@@ -314,7 +318,7 @@ key_handle_key_press (GtkWidget *wid, GdkEventKey *evt, session *sess)
key_action_tab_clean ();
break;
#if defined(USE_GTKSPELL)/* && !defined(WIN32)
#if defined(USE_GTKSPELL)/* && !defined(WIN32) */
/* gtktextview has no 'activate' event, so we trap ENTER here */
case GDK_Return:
case GDK_KP_Enter: