Mercurial > geeqie
diff src/img-view.c @ 208:fa0e05f985c3
set user-defined color as image background - patch by Laurent MONIN
author | nadvornik |
---|---|
date | Sat, 29 Mar 2008 10:38:15 +0000 |
parents | f6e307c7bad6 |
children | 9faf34f047b1 |
line wrap: on
line diff
--- a/src/img-view.c Sat Mar 29 10:11:02 2008 +0000 +++ b/src/img-view.c Sat Mar 29 10:38:15 2008 +0000 @@ -859,7 +859,7 @@ vw->imd = image_new(FALSE); - if (black_window_background) image_background_set_black(vw->imd, TRUE); + image_background_set_color(vw->imd, user_specified_window_background ? &window_background_color : NULL); image_attach_window(vw->imd, vw->window, NULL, "Geeqie", TRUE); @@ -1015,7 +1015,7 @@ ViewWindow *vw = work->data; work = work->next; - image_background_set_black(vw->imd, black_window_background); + image_background_set_color(vw->imd, user_specified_window_background ? &window_background_color : NULL); } }