diff options
| author | Paul Eggert | 2013-05-08 15:56:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-05-08 15:56:08 -0700 |
| commit | ad75d77ea30f940da9bcc3a96ee265896248e7ee (patch) | |
| tree | 4a88d76b4d716ea9eed03224e555d00847f1c48b /src/xterm.c | |
| parent | a9e4425bc99733b6ecf3898801b6595f35c4ef30 (diff) | |
| download | emacs-ad75d77ea30f940da9bcc3a96ee265896248e7ee.tar.gz emacs-ad75d77ea30f940da9bcc3a96ee265896248e7ee.zip | |
* xterm.h (GTK_PREREQ): New macro.
All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed
to use this macro instead, for consistency and clarity.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 93473986ca5..55458077750 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -9921,7 +9921,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | |||
| 9921 | 9921 | ||
| 9922 | dpy = DEFAULT_GDK_DISPLAY (); | 9922 | dpy = DEFAULT_GDK_DISPLAY (); |
| 9923 | 9923 | ||
| 9924 | #if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION <= 90 | 9924 | #if ! GTK_PREREQ (2, 90) |
| 9925 | /* Load our own gtkrc if it exists. */ | 9925 | /* Load our own gtkrc if it exists. */ |
| 9926 | { | 9926 | { |
| 9927 | const char *file = "~/.emacs.d/gtkrc"; | 9927 | const char *file = "~/.emacs.d/gtkrc"; |