Mercurial > geeqie
comparison src/bar_histogram.c @ 1474:aec6992e5116
fixed segfault in histogram
http://sourceforge.net/tracker/index.php?func=detail&aid=2690498&group_id=222125&atid=1054680
author | nadvornik |
---|---|
date | Sat, 21 Mar 2009 20:19:11 +0000 |
parents | 65a5c27823c2 |
children | 0e82a03c165b |
comparison
equal
deleted
inserted
replaced
1473:01693e68707b | 1474:aec6992e5116 |
---|---|
79 phd->idle_id = -1; | 79 phd->idle_id = -1; |
80 phd->need_update = FALSE; | 80 phd->need_update = FALSE; |
81 | 81 |
82 gtk_widget_queue_draw_area(GTK_WIDGET(phd->drawing_area), 0, 0, phd->histogram_width, phd->histogram_height); | 82 gtk_widget_queue_draw_area(GTK_WIDGET(phd->drawing_area), 0, 0, phd->histogram_width, phd->histogram_height); |
83 | 83 |
84 if (phd->fd == NULL) return FALSE; | |
84 histmap = histmap_get(phd->fd); | 85 histmap = histmap_get(phd->fd); |
85 | 86 |
86 if (!histmap) | 87 if (!histmap) |
87 { | 88 { |
88 histmap_start_idle(phd->fd); | 89 histmap_start_idle(phd->fd); |