Mercurial > dwindows
comparison gtk3/dw.c @ 972:32830f1683c9
Fixed an issue where dw_color_background_set() would not function.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 05 May 2011 22:15:48 +0000 |
parents | 2a21915684d1 |
children | ab244c6f9386 |
comparison
equal
deleted
inserted
replaced
971:2a21915684d1 | 972:32830f1683c9 |
---|---|
6497 GdkColor color = _internal_color(value); | 6497 GdkColor color = _internal_color(value); |
6498 | 6498 |
6499 if(!background) | 6499 if(!background) |
6500 { | 6500 { |
6501 background = malloc(sizeof(GdkColor)); | 6501 background = malloc(sizeof(GdkColor)); |
6502 pthread_setspecific(_dw_bg_color_key, background); | |
6502 } | 6503 } |
6503 *background = color; | 6504 *background = color; |
6504 } | 6505 } |
6505 } | 6506 } |
6506 | 6507 |