From: Dmitry Antipov Date: Tue, 17 Sep 2013 06:57:30 +0000 (+0400) Subject: * xterm.c (handle_one_xevent): Do not call to x_clear_area X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1893694e3e96560a1b750e257f774e23d3b06836;p=emacs.git * xterm.c (handle_one_xevent): Do not call to x_clear_area if GTK >= 2.7.0. --- 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 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,