diff options
| author | Paul Eggert | 2011-04-15 00:48:51 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-15 00:48:51 -0700 |
| commit | 4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9 (patch) | |
| tree | e993b231bb5555c9c961f5d0b20d90ac76f77bbd /src/xsettings.c | |
| parent | 1963a2e0bb07cc8dee6d27f972f93d9cfd7c6b2d (diff) | |
| parent | 49093f601b69d91126aefd328ee8f6bfeb797407 (diff) | |
| download | emacs-4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9.tar.gz emacs-4170f62f39edf1ff1e99aec9bfbfe7bbf10e7fc9.zip | |
Merge from mainline.
Diffstat (limited to 'src/xsettings.c')
| -rw-r--r-- | src/xsettings.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xsettings.c b/src/xsettings.c index 24ea48e7b67..2513bcc5aa8 100644 --- a/src/xsettings.c +++ b/src/xsettings.c | |||
| @@ -691,11 +691,13 @@ xsettings_get_system_font (void) | |||
| 691 | return current_mono_font; | 691 | return current_mono_font; |
| 692 | } | 692 | } |
| 693 | 693 | ||
| 694 | #ifdef USE_LUCID | ||
| 694 | const char * | 695 | const char * |
| 695 | xsettings_get_system_normal_font (void) | 696 | xsettings_get_system_normal_font (void) |
| 696 | { | 697 | { |
| 697 | return current_font; | 698 | return current_font; |
| 698 | } | 699 | } |
| 700 | #endif | ||
| 699 | 701 | ||
| 700 | DEFUN ("font-get-system-normal-font", Ffont_get_system_normal_font, | 702 | DEFUN ("font-get-system-normal-font", Ffont_get_system_normal_font, |
| 701 | Sfont_get_system_normal_font, | 703 | Sfont_get_system_normal_font, |
| @@ -718,8 +720,8 @@ DEFUN ("font-get-system-font", Ffont_get_system_font, Sfont_get_system_font, | |||
| 718 | : Qnil; | 720 | : Qnil; |
| 719 | } | 721 | } |
| 720 | 722 | ||
| 721 | DEFUN ("tool-bar-get-system-style", Ftool_bar_get_system_style, Stool_bar_get_system_style, | 723 | DEFUN ("tool-bar-get-system-style", Ftool_bar_get_system_style, |
| 722 | 0, 0, 0, | 724 | Stool_bar_get_system_style, 0, 0, 0, |
| 723 | doc: /* Get the system tool bar style. | 725 | doc: /* Get the system tool bar style. |
| 724 | If no system tool bar style is known, return `tool-bar-style' if set to a | 726 | If no system tool bar style is known, return `tool-bar-style' if set to a |
| 725 | known style. Otherwise return image. */) | 727 | known style. Otherwise return image. */) |