Commit 7e4c5ab3 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Removed bogus calls to invalid gc.

1998-11-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/item-grid.c (item_grid_realize): Removed bogus calls to
	invalid gc.
parent 34b3f718
1998-11-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-grid.c (item_grid_realize): Removed bogus calls to
invalid gc.
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-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-grid.c (item_grid_realize): Removed bogus calls to
invalid gc.
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-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-grid.c (item_grid_realize): Removed bogus calls to
invalid gc.
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-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-grid.c (item_grid_realize): Removed bogus calls to
invalid gc.
1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/item-grid.c (item_grid_unrealize): Unref all the item_grid's GCs.
......
......@@ -58,17 +58,11 @@ item_grid_realize (GnomeCanvasItem *item)
item_grid->fill_gc = gdk_gc_new (window);
item_grid->gc = gdk_gc_new (window);
gdk_gc_set_line_attributes (gc, 1, GDK_LINE_SOLID,
GDK_CAP_PROJECTING, GDK_JOIN_MITER);
/* Allocate the default colors */
item_grid->background = gs_white;
item_grid->grid_color = gs_light_gray;
item_grid->default_color = gs_black;
gdk_gc_set_foreground (gc, &item_grid->grid_color);
gdk_gc_set_background (gc, &item_grid->background);
gdk_gc_set_foreground (item_grid->fill_gc, &item_grid->background);
gdk_gc_set_background (item_grid->fill_gc, &item_grid->grid_color);
......
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