Commit 34b3f718 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Arturo Espinosa

Miguel: could you check the uninitialized variable gc in


Miguel: could you check the uninitialized variable gc in item_grid_realize()?

1998-11-24  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
parent 838034fe
1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the
......
1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the
......
1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the
......
1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/dialog-goto-cell.c (dialog_goto_cell): Set the policy on the
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment