Commit 00e78795 authored by Morten Welinder's avatar Morten Welinder

Undo some of Miguel's hit-and-run (well, patch-and-fly) job for

refcounts.
parent 71a94874
Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
1999-06-13 Morten Welinder <terra@diku.dk>
* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection):
Temporary patch for refcounts until Miguel can fixup things.
(destroy_item_editor): Ditto.
* src/fn-financial.c: s/double/float_t/;
(calculate_pvif, calculate_pvifa, calculate_fvif, calculate_fvifa,
......@@ -11,8 +15,6 @@ Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
(gnumeric_pv): Ditto.
(gnumeric_fv): Ditto.
1999-06-13 Morten Welinder <terra@diku.dk>
* src/fn-information.c: Prune includes.
* src/fn-string.c: Ditto.
* src/fn-sheet.c: Ditto.
......
Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
1999-06-13 Morten Welinder <terra@diku.dk>
* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection):
Temporary patch for refcounts until Miguel can fixup things.
(destroy_item_editor): Ditto.
* src/fn-financial.c: s/double/float_t/;
(calculate_pvif, calculate_pvifa, calculate_fvif, calculate_fvifa,
......@@ -11,8 +15,6 @@ Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
(gnumeric_pv): Ditto.
(gnumeric_fv): Ditto.
1999-06-13 Morten Welinder <terra@diku.dk>
* src/fn-information.c: Prune includes.
* src/fn-string.c: Ditto.
* src/fn-sheet.c: Ditto.
......
Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
1999-06-13 Morten Welinder <terra@diku.dk>
* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection):
Temporary patch for refcounts until Miguel can fixup things.
(destroy_item_editor): Ditto.
* src/fn-financial.c: s/double/float_t/;
(calculate_pvif, calculate_pvifa, calculate_fvif, calculate_fvifa,
......@@ -11,8 +15,6 @@ Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
(gnumeric_pv): Ditto.
(gnumeric_fv): Ditto.
1999-06-13 Morten Welinder <terra@diku.dk>
* src/fn-information.c: Prune includes.
* src/fn-string.c: Ditto.
* src/fn-sheet.c: Ditto.
......
Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
1999-06-13 Morten Welinder <terra@diku.dk>
* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection):
Temporary patch for refcounts until Miguel can fixup things.
(destroy_item_editor): Ditto.
* src/fn-financial.c: s/double/float_t/;
(calculate_pvif, calculate_pvifa, calculate_fvif, calculate_fvifa,
......@@ -11,8 +15,6 @@ Sun Jun 13 14:59:07 1999 Morten Welinder <welinder@rentec.com>
(gnumeric_pv): Ditto.
(gnumeric_fv): Ditto.
1999-06-13 Morten Welinder <terra@diku.dk>
* src/fn-information.c: Prune includes.
* src/fn-string.c: Ditto.
* src/fn-sheet.c: Ditto.
......
......@@ -337,7 +337,13 @@ gnumeric_sheet_stop_cell_selection (GnumericSheet *gsheet)
return;
gsheet->selecting_cell = FALSE;
/* FIXME: there is only one reference and the canvas thinks it owns
it. */
#if 0
gtk_object_unref (GTK_OBJECT (gsheet->selection));
#else
gtk_object_destroy (GTK_OBJECT (gsheet->selection));
#endif
gsheet->selection = NULL;
}
......@@ -370,7 +376,13 @@ destroy_item_editor (GnumericSheet *gsheet)
{
g_return_if_fail (gsheet->item_editor);
/* FIXME: there is only one reference and the canvas thinks it owns
it. */
#if 0
gtk_object_unref (GTK_OBJECT (gsheet->item_editor));
#else
gtk_object_destroy (GTK_OBJECT (gsheet->item_editor));
#endif
gsheet->item_editor = NULL;
}
......
......@@ -337,7 +337,13 @@ gnumeric_sheet_stop_cell_selection (GnumericSheet *gsheet)
return;
gsheet->selecting_cell = FALSE;
/* FIXME: there is only one reference and the canvas thinks it owns
it. */
#if 0
gtk_object_unref (GTK_OBJECT (gsheet->selection));
#else
gtk_object_destroy (GTK_OBJECT (gsheet->selection));
#endif
gsheet->selection = NULL;
}
......@@ -370,7 +376,13 @@ destroy_item_editor (GnumericSheet *gsheet)
{
g_return_if_fail (gsheet->item_editor);
/* FIXME: there is only one reference and the canvas thinks it owns
it. */
#if 0
gtk_object_unref (GTK_OBJECT (gsheet->item_editor));
#else
gtk_object_destroy (GTK_OBJECT (gsheet->item_editor));
#endif
gsheet->item_editor = NULL;
}
......
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