diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-17 10:57:30 +0400 |
|---|---|---|
| committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-17 10:57:30 +0400 |
| commit | 1893694e3e96560a1b750e257f774e23d3b06836 (patch) | |
| tree | 83ad3dbfeb8dadfae8d664e558f88aeb14e78115 | |
| parent | 19452b86657532741d78fa3bcc12b12b58a8a54b (diff) | |
| download | emacs-1893694e3e96560a1b750e257f774e23d3b06836.tar.gz | |
* xterm.c (handle_one_xevent): Do not call to x_clear_area
if GTK >= 2.7.0.
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xterm.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c3c64f79d89..f1ba30f023b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -5,6 +5,8 @@ (fn_g_type_init) [!WINDOWSNT]: Define only if Glib < 2.36.0. * xsettings.c (init_gconf, init_gsettings): Do not check for g_type_init. + * xterm.c (handle_one_xevent): Do not call to x_clear_area + if GTK >= 2.7.0. 2013-09-16 Jan Djärv <jan.h.d@swipnet.se> diff --git a/src/xterm.c b/src/xterm.c index 89f543abca6..90e58c81f44 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6151,7 +6151,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, f = x_window_to_frame (dpyinfo, event->xexpose.window); if (f) { -#ifdef USE_GTK +#if ! GTK_CHECK_VERSION (2, 7, 0) /* This seems to be needed for GTK 2.6. */ x_clear_area (event->xexpose.display, event->xexpose.window, |
