diff options
| author | Karoly Lorentey | 2006-04-01 16:37:26 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 16:37:26 +0000 |
| commit | 5bcee7efff25b675da6da4d6dd31c6bbc822b957 (patch) | |
| tree | b898b9ac65601355dc9f7cf018042bdb3591c1ac /src/gtkutil.c | |
| parent | ce593f6e6b85e58206264cad983c796ce8dd41a2 (diff) | |
| download | emacs-5bcee7efff25b675da6da4d6dd31c6bbc822b957.tar.gz emacs-5bcee7efff25b675da6da4d6dd31c6bbc822b957.zip | |
Fix previous commit.
* src/frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
* src/gtkutil.c (xg_create_frame_widgets): Ditto.
* src/macfns.c (x_set_mouse_color): Ditto.
* src/macfns.c (x_make_gc): Ditto.
* src/msdos.c (ScreenVisualBell): Ditto.
* src/msdos.c (internal_terminal_init): Ditto.
* src/w32term.c (x_free_frame_resources): Ditto.
* src/xfns.c (x_window): Ditto.
* src/xterm.c (x_scroll_bar_create): Ditto.
* src/xterm.c (x_scroll_bar_set_handle): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-545
Diffstat (limited to 'src/gtkutil.c')
| -rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index b8d37df2214..ec886b52faf 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -811,7 +811,7 @@ xg_create_frame_widgets (f) | |||
| 811 | 811 | ||
| 812 | /* Since GTK clears its window by filling with the background color, | 812 | /* Since GTK clears its window by filling with the background color, |
| 813 | we must keep X and GTK background in sync. */ | 813 | we must keep X and GTK background in sync. */ |
| 814 | xg_pix_to_gcolor (wfixed, f->output_data.x->background_pixel, &bg); | 814 | xg_pix_to_gcolor (wfixed, FRAME_BACKGROUND_PIXEL (f), &bg); |
| 815 | gtk_widget_modify_bg (wfixed, GTK_STATE_NORMAL, &bg); | 815 | gtk_widget_modify_bg (wfixed, GTK_STATE_NORMAL, &bg); |
| 816 | 816 | ||
| 817 | /* Also, do not let any background pixmap to be set, this looks very | 817 | /* Also, do not let any background pixmap to be set, this looks very |