diff --git a/ChangeLog-1999-07-09 b/ChangeLog-1999-07-09 index 3cdcbb16c09e18917b5a38c6204b350b6fd7c503..4a474fb8658bdbb30a912939f6e6a576ead29274 100644 --- a/ChangeLog-1999-07-09 +++ b/ChangeLog-1999-07-09 @@ -1,3 +1,7 @@ +1998-11-24 Federico Mena Quintero + + * src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs. + 1998-11-23 Miguel de Icaza * src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the diff --git a/ChangeLog-2000-02-23 b/ChangeLog-2000-02-23 index 3cdcbb16c09e18917b5a38c6204b350b6fd7c503..4a474fb8658bdbb30a912939f6e6a576ead29274 100644 --- a/ChangeLog-2000-02-23 +++ b/ChangeLog-2000-02-23 @@ -1,3 +1,7 @@ +1998-11-24 Federico Mena Quintero + + * src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs. + 1998-11-23 Miguel de Icaza * src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the diff --git a/OChangeLog-1999-07-09 b/OChangeLog-1999-07-09 index 3cdcbb16c09e18917b5a38c6204b350b6fd7c503..4a474fb8658bdbb30a912939f6e6a576ead29274 100644 --- a/OChangeLog-1999-07-09 +++ b/OChangeLog-1999-07-09 @@ -1,3 +1,7 @@ +1998-11-24 Federico Mena Quintero + + * src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs. + 1998-11-23 Miguel de Icaza * src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the diff --git a/OChangeLog-2000-02-23 b/OChangeLog-2000-02-23 index 3cdcbb16c09e18917b5a38c6204b350b6fd7c503..4a474fb8658bdbb30a912939f6e6a576ead29274 100644 --- a/OChangeLog-2000-02-23 +++ b/OChangeLog-2000-02-23 @@ -1,3 +1,7 @@ +1998-11-24 Federico Mena Quintero + + * src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs. + 1998-11-23 Miguel de Icaza * src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the diff --git a/src/item-grid.c b/src/item-grid.c index 963e2d2d08d6b6f982bcf4f530660f4d4ba705f3..65956d1153397046916481f3fe492033346cc715 100644 --- a/src/item-grid.c +++ b/src/item-grid.c @@ -94,7 +94,11 @@ item_grid_unrealize (GnomeCanvasItem *item) ItemGrid *item_grid = ITEM_GRID (item); gdk_gc_unref (item_grid->grid_gc); + gdk_gc_unref (item_grid->fill_gc); + gdk_gc_unref (item_grid->gc); item_grid->grid_gc = 0; + item_grid->fill_gc = 0; + item_grid->gc = 0; if (GNOME_CANVAS_ITEM_CLASS (item_grid_parent_class)->unrealize) (*GNOME_CANVAS_ITEM_CLASS (item_grid_parent_class)->unrealize)(item);