comparison src/xterm.h @ 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 23a1cea22d13
children a62497b91c74
comparison
equal deleted inserted replaced
49999:4a963c586625 50000:8b7db04f3672
42 #include <gdk/gdkx.h> 42 #include <gdk/gdkx.h>
43 43
44 /* Some definitions to reduce conditionals. */ 44 /* Some definitions to reduce conditionals. */
45 typedef GtkWidget *xt_or_gtk_widget; 45 typedef GtkWidget *xt_or_gtk_widget;
46 #define XtParent(x) (gtk_widget_get_parent (x)) 46 #define XtParent(x) (gtk_widget_get_parent (x))
47 47 #undef XSync
48 #endif 48 #define XSync(d, b) gdk_window_process_all_updates ()
49
50 #endif /* USE_GTK */
49 51
50 /* The class of this X application. */ 52 /* The class of this X application. */
51 #define EMACS_CLASS "Emacs" 53 #define EMACS_CLASS "Emacs"
52 54
53 /* Bookkeeping to distinguish X versions. */ 55 /* Bookkeeping to distinguish X versions. */