projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix segfault with invalid bold font.
[claws.git]
/
src
/
headerview.c
diff --git
a/src/headerview.c
b/src/headerview.c
index 47eaf3cd995989c1df0f06bbfbe7cbe1a5469690..470b77fdc9976f8b895c3261c831ba38c1e76ea7 100644
(file)
--- a/
src/headerview.c
+++ b/
src/headerview.c
@@
-141,7
+141,9
@@
void headerview_init(HeaderView *headerview)
GtkStyle *style; \
\
style = gtk_style_copy(gtk_widget_get_style(headerview->wid)); \
- style->font = boldfont; \
+ if (boldfont) { \
+ style->font = boldfont; \
+ } \
gtk_widget_set_style(headerview->wid, style); \
}