Commit f4776bf6 authored by Morten Wellinder's avatar Morten Wellinder Committed by Arturo Espinosa

Fix for circular references.

1999-04-05  Morten Wellinder <terra@diku.dk>

	* src/cell.c (cell_set_rendered_text): Fix for circular
	references.

1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/about.c (dialog_about): Do not make the about box modal.
parent 1f2d56b8
1999-04-05 Morten Wellinder <terra@diku.dk>
* src/cell.c (cell_set_rendered_text): Fix for circular
references.
1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/about.c (dialog_about): Do not make the about box modal.
1999-04-05 Michael Meeks <michael@imaginator.com>
* src/func.c (tokenised_help_new, tokenised_help_destroy),
......
1999-04-05 Morten Wellinder <terra@diku.dk>
* src/cell.c (cell_set_rendered_text): Fix for circular
references.
1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/about.c (dialog_about): Do not make the about box modal.
1999-04-05 Michael Meeks <michael@imaginator.com>
* src/func.c (tokenised_help_new, tokenised_help_destroy),
......
1999-04-05 Morten Wellinder <terra@diku.dk>
* src/cell.c (cell_set_rendered_text): Fix for circular
references.
1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/about.c (dialog_about): Do not make the about box modal.
1999-04-05 Michael Meeks <michael@imaginator.com>
* src/func.c (tokenised_help_new, tokenised_help_destroy),
......
1999-04-05 Morten Wellinder <terra@diku.dk>
* src/cell.c (cell_set_rendered_text): Fix for circular
references.
1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/about.c (dialog_about): Do not make the about box modal.
1999-04-05 Michael Meeks <michael@imaginator.com>
* src/func.c (tokenised_help_new, tokenised_help_destroy),
......
......@@ -54,7 +54,6 @@ dialog_about (Workbook *wb)
_("The GNOME spreadsheet.\n"
"http://www.gnome.org/gnumeric"),
NULL);
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
gnome_dialog_set_parent (GNOME_DIALOG (about), GTK_WINDOW (wb->toplevel));
gnome_dialog_set_close (GNOME_DIALOG (about), TRUE);
gtk_widget_show (about);
......
......@@ -493,15 +493,18 @@ cell_set_border (Cell *cell,
void
cell_set_rendered_text (Cell *cell, char *rendered_text)
{
String *oldtext;
g_return_if_fail (cell != NULL);
g_return_if_fail (rendered_text != NULL);
cell_modified (cell);
if (cell->text)
string_unref (cell->text);
cell_modified (cell);
oldtext = cell->text;
cell->text = string_get (rendered_text);
if (oldtext)
string_unref (oldtext);
cell_calc_dimensions (cell);
}
......
......@@ -54,7 +54,6 @@ dialog_about (Workbook *wb)
_("The GNOME spreadsheet.\n"
"http://www.gnome.org/gnumeric"),
NULL);
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
gnome_dialog_set_parent (GNOME_DIALOG (about), GTK_WINDOW (wb->toplevel));
gnome_dialog_set_close (GNOME_DIALOG (about), TRUE);
gtk_widget_show (about);
......
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