comparison src/xterm.h @ 57624:6178d4e9b661

* xterm.h (XSync): If USE_GTK, define XSync as process_all and then XSync.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 20 Oct 2004 16:53:27 +0000
parents 0308942676c7
children ead4249849ac
comparison
equal deleted inserted replaced
57623:1293d7f90911 57624:6178d4e9b661
48 48
49 /* Some definitions to reduce conditionals. */ 49 /* Some definitions to reduce conditionals. */
50 typedef GtkWidget *xt_or_gtk_widget; 50 typedef GtkWidget *xt_or_gtk_widget;
51 #define XtParent(x) (gtk_widget_get_parent (x)) 51 #define XtParent(x) (gtk_widget_get_parent (x))
52 #undef XSync 52 #undef XSync
53 #define XSync(d, b) gdk_window_process_all_updates () 53 #define XSync(d, b) do { gdk_window_process_all_updates (); \
54 XSync (d, b); } while (0)
55
54 56
55 #endif /* USE_GTK */ 57 #endif /* USE_GTK */
56 58
57 59
58 /* Bookkeeping to distinguish X versions. */ 60 /* Bookkeeping to distinguish X versions. */