changeset 50000:8b7db04f3672

* xterm.h (XSync): Define as gdk_window_process_all_updates for GTK.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 02 Mar 2003 13:13:33 +0000
parents 4a963c586625
children 745c2428aae8
files src/ChangeLog src/xterm.h
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Mar 02 12:45:29 2003 +0000
+++ b/src/ChangeLog	Sun Mar 02 13:13:33 2003 +0000
@@ -1,3 +1,7 @@
+2003-03-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xterm.h (XSync): Define as gdk_window_process_all_updates for GTK.
+
 2003-02-25  Kim F. Storm  <storm@cua.dk>
 
 	* xdisp.c (redisplay_window): Fix infinite loop in redisplay.
--- a/src/xterm.h	Sun Mar 02 12:45:29 2003 +0000
+++ b/src/xterm.h	Sun Mar 02 13:13:33 2003 +0000
@@ -44,8 +44,10 @@
 /* Some definitions to reduce conditionals.  */
 typedef GtkWidget *xt_or_gtk_widget;
 #define XtParent(x) (gtk_widget_get_parent (x))
+#undef XSync
+#define XSync(d, b) gdk_window_process_all_updates ()
 
-#endif
+#endif /* USE_GTK */
 
 /* The class of this X application.  */
 #define EMACS_CLASS "Emacs"