goffice r1929 - in trunk: . goffice/graph
- From: emmanuel svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r1929 - in trunk: . goffice/graph
- Date: Sun, 28 Oct 2007 17:48:05 +0000 (GMT)
Author: emmanuel
Date: 2007-10-28 17:48:04 +0000 (Sun, 28 Oct 2007)
New Revision: 1929
ViewCVS link: http://svn.gnome.org/viewcvs/goffice?rev=1929&view=rev
Modified:
trunk/ChangeLog
trunk/goffice/graph/gog-axis-line.c
trunk/goffice/graph/gog-axis.c
trunk/goffice/graph/gog-chart-map.c
trunk/goffice/graph/gog-grid-line.c
Log:
2007-10-28 Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Fix a crash when deleting a chart. We may be in a state where a chart
has axes and grid lines, but axis_set is GOG_AXIS_SET_UNKNOW.
* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
exit early if axis_set == GOG_AXIS_SET_UNKNOW.
(gog_axis_base_view_point): ditto.
(gog_axis_base_view_padding_request): ditto.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-grid-line.c (gog_grid_line_radial_render): ditto.
(gog_grid_line_circular_render): ditto.
* goffice/graph/gog-chart-map.c (gog_chart_map_new): return NULL is
axis_set == GOG_AXIS_SET_UNKNOW.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]