Commit 30aba440 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Miguel de Icaza

Do not destroy the context here, as it is dereferenced later in the



2000-04-07  Miguel de Icaza  <miguel@gnu.org>

	* main.c (button_cancel): Do not destroy the context here, as it
	is dereferenced later in the mainloop.

2000-04-10  Miguel de Icaza  <miguel@gnu.org>

	* Lots of files: replaces utils.h for gutils.h

	* renamed utils.h to gutils.h to avoid the compilation problem on
	some Unices (yes, fixing the Makefile would have done it, but
	utils.h was still a lame name;  Of course gutils.h is not any
	better, but it is now done).

2000-04-07  Miguel de Icaza  <miguel@gnu.org>

	* src/cellspan.c (span_remove): Pretify code.
parent 43aa96ea
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* src/cellspan.c (span_remove): Pretify code.
2000-04-10 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_read) : Do NOT recalc on load for now even
......
......@@ -15,7 +15,7 @@
#include "ms-formula-read.h"
#include "ms-excel-read.h"
#include "ms-escher.h"
#include "utils.h"
#include "gutils.h"
#include "style.h"
#include "expr.h"
#include "gnumeric-chart.h"
......
......@@ -19,7 +19,7 @@
#include "ms-escher.h"
#include "print-info.h"
#include "selection.h"
#include "utils.h" /* for cell_name */
#include "gutils.h" /* for cell_name */
#include "ranges.h"
#include "expr-name.h"
#include "style.h"
......
......@@ -37,7 +37,7 @@
#include "sheet-object.h"
#include "style.h"
#include "main.h"
#include "utils.h"
#include "gutils.h"
#include "print-info.h"
#include "command-context.h"
#include "workbook.h"
......
......@@ -17,7 +17,7 @@
#include "func.h"
#include "value.h"
#include "utils.h"
#include "gutils.h"
#include "excel.h"
#include "ms-biff.h"
......
......@@ -19,7 +19,7 @@
#include "func.h"
#include "value.h"
#include "utils.h"
#include "gutils.h"
#include "excel.h"
#include "ms-biff.h"
......
......@@ -12,7 +12,7 @@
#include "ms-obj.h"
#include "ms-chart.h"
#include "ms-escher.h"
#include "utils.h"
#include "gutils.h"
int ms_excel_object_debug;
......
......@@ -7,7 +7,7 @@
#include <config.h>
#include <math.h>
#include <glib.h>
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "datetime.h"
......
......@@ -12,7 +12,7 @@
#include <limits.h>
#include "complex.h"
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "mathfunc.h"
......
......@@ -10,7 +10,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "goal-seek.h"
......
......@@ -8,7 +8,7 @@
*/
#include <config.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "number-match.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "auto-format.h"
......
......@@ -9,7 +9,7 @@
#include <config.h>
#include <glib.h>
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "eval.h"
#include "cell.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "mathfunc.h"
......
......@@ -11,7 +11,7 @@
#include "mathfunc.h"
#include "regression.h"
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "collect.h"
......
......@@ -10,7 +10,7 @@
#include <ctype.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "format.h"
......
......@@ -23,7 +23,7 @@
#include "main.h"
#include "sheet.h"
#include "file.h"
#include "utils.h"
#include "gutils.h"
#include "value.h"
#include "cell.h"
#include "command-context.h"
......
......@@ -28,7 +28,7 @@
#include "sheet.h"
#include "value.h"
#include "file.h"
#include "utils.h"
#include "gutils.h"
#include "command-context.h"
#include "oleo.h"
......
......@@ -14,7 +14,7 @@
#include "plugin.h"
#include "gnumeric.h"
#include "workbook.h"
#include "utils.h"
#include "gutils.h"
#include "value.h"
#include "file.h"
#include "cell.h"
......
......@@ -103,6 +103,8 @@ GNUMERIC_BASE_SOURCES = \
gnumeric-util.h \
gnumeric-type-util.h \
gnumeric.h \
gutils.c \
gutils.h \
history.c \
history.h \
item-bar.c \
......@@ -180,8 +182,6 @@ GNUMERIC_BASE_SOURCES = \
symbol.c \
test.c \
test.h \
utils.c \
utils.h \
value.c \
value.h \
value-sheet.c \
......
......@@ -16,7 +16,7 @@
#include "gnumeric.h"
#include "gnumeric-util.h"
#include "dialogs.h"
#include "utils.h"
#include "gutils.h"
#include "tools.h"
#include "value.h"
#include "regression.h"
......
......@@ -7,7 +7,7 @@
#include <config.h>
#include "auto-format.h"
#include "utils.h"
#include "gutils.h"
#include "formats.h"
#include "expr.h"
#include "cell.h"
......
......@@ -11,7 +11,7 @@
#include "cell.h"
#include "workbook.h"
#include "sheet-view.h" /* FIXME : Only for sheet_view_get_style_font */
#include "utils.h" /* FIXME : Only for cell_name */
#include "gutils.h" /* FIXME : Only for cell_name */
static inline void
draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc,
......
......@@ -17,7 +17,7 @@
#include "color.h"
#include "border.h"
#include "cursors.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "cellspan.h"
#include "gnumeric-util.h"
......
......@@ -75,6 +75,7 @@ cell_register_span (Cell *cell, int left, int right)
for (i = left; i <= right; i++){
CellSpanInfo *spaninfo = g_new (CellSpanInfo, 1);
spaninfo->cell = cell;
spaninfo->left = left;
spaninfo->right = right;
......@@ -84,10 +85,12 @@ cell_register_span (Cell *cell, int left, int right)
}
static gboolean
span_remove(gpointer key, gpointer value, gpointer user_data)
span_remove (gpointer key, gpointer value, gpointer user_data)
{
CellSpanInfo *span = (CellSpanInfo *)value;
if ((Cell *)user_data == span->cell) {
Cell *cell = user_data;
if (cell == span->cell) {
g_free (span); /* free the span descriptor */
return TRUE;
}
......
......@@ -15,7 +15,7 @@
#include "workbook-view.h"
#include "ranges.h"
#include "sort.h"
#include "utils.h"
#include "gutils.h"
#include "clipboard.h"
#include "selection.h"
#include "datetime.h"
......
......@@ -17,7 +17,7 @@
#include "gnumeric.h"
#include "idl/Gnumeric.h"
#include "corba.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "selection.h"
#include "commands.h"
......
......@@ -9,7 +9,7 @@
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "eval.h"
#include "value.h"
......
......@@ -16,7 +16,7 @@
#include "gnumeric-util.h"
#include "utils-dialog.h"
#include "dialogs.h"
#include "utils.h"
#include "gutils.h"
#include "utils-dialog.h"
#include "tools.h"
#include "ranges.h"
......
......@@ -16,7 +16,7 @@
#include "cell.h"
#include "expr.h"
#include "selection.h"
#include "utils.h"
#include "gutils.h"
#include "utils-dialog.h"
#include "ranges.h"
#include "commands.h"
......
......@@ -17,7 +17,7 @@
#include "expr.h"
#include "eval.h"
#include "value.h"
#include "utils.h"
#include "gutils.h"
#include "workbook.h"
#include "utils-dialog.h"
#include "goal-seek.h"
......
......@@ -19,7 +19,7 @@
#include "tools.h"
#include "value.h"
#include "workbook.h"
#include "utils.h"
#include "gutils.h"
#include "utils-dialog.h"
/* Different constraint types */
......
......@@ -9,7 +9,7 @@
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "eval.h"
#include "value.h"
......
......@@ -15,7 +15,7 @@
#include "eval.h"
#include "format.h"
#include "func.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "workbook.h"
......
......@@ -35,7 +35,7 @@
#include "gnumeric.h"
#include "format.h"
#include "dates.h"
#include "utils.h"
#include "gutils.h"
#include "portability.h"
#include "datetime.h"
#include "mathfunc.h"
......
......@@ -10,7 +10,7 @@
#include <gnome.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "eval.h"
#include "cell.h"
......
......@@ -7,7 +7,7 @@
#include <config.h>
#include <math.h>
#include <glib.h>
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "datetime.h"
......
......@@ -12,7 +12,7 @@
#include <limits.h>
#include "complex.h"
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "mathfunc.h"
......
......@@ -10,7 +10,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "goal-seek.h"
......
......@@ -8,7 +8,7 @@
*/
#include <config.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "number-match.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "func.h"
#include "auto-format.h"
......
......@@ -9,7 +9,7 @@
#include <config.h>
#include <glib.h>
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "eval.h"
#include "cell.h"
......
......@@ -8,7 +8,7 @@
#include <config.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "mathfunc.h"
......
......@@ -7,7 +7,7 @@
*/
#include <config.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "selection.h"
......
......@@ -11,7 +11,7 @@
#include "mathfunc.h"
#include "regression.h"
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "collect.h"
......
......@@ -10,7 +10,7 @@
#include <ctype.h>
#include <math.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "func.h"
#include "cell.h"
#include "format.h"
......
......@@ -17,7 +17,7 @@
#include "color.h"
#include "cursors.h"
#include "selection.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "application.h"
#include "workbook-view.h"
......
......@@ -17,7 +17,7 @@
#include "color.h"
#include "cursors.h"
#include "selection.h"
#include "utils.h"
#include "gutils.h"
#include "ranges.h"
#include "application.h"
#include "workbook-view.h"
......
......@@ -12,7 +12,7 @@
#include <string.h>
#include <ctype.h>
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "gnumeric.h"
#include "sheet.h"
#include "ranges.h"
......
......@@ -12,7 +12,7 @@
#include "gnumeric-sheet.h"
#include "item-bar.h"
#include "item-debug.h"
#include "utils.h"
#include "gutils.h"
#include "gnumeric-util.h"
#include "selection.h"
#include "workbook-cmd-format.h"
......
......@@ -23,7 +23,7 @@
#include "formats.h"
#include "dates.h"
#include "numbers.h"
#include "utils.h"
#include "gutils.h"
#include "datetime.h"
/*
......
......@@ -12,7 +12,7 @@
#include "eval.h"
#include "format.h"
#include "color.h"
#include "utils.h"
#include "gutils.h"
#include "cell.h"
#include "border.h"
#include "pattern.h"
......
......@@ -31,7 +31,7 @@
#include "dialogs.h"
#include "main.h"
#include "file.h"
#include "utils.h"
#include "gutils.h"
#include "print-info.h"
#include "print.h"
#include "print-cell.h"
......
......@@ -16,7 +16,7 @@
#include "numbers.h"
#include "symbol.h"
#include "expr.h"
#include "utils.h"
#include "gutils.h"
#include "gnumeric.h"
#include "ranges.h"
#include "value.h"
......
......@@ -9,7 +9,7 @@
*/
#include <config.h>
#include "selection.h"
#include "utils.h"
#include "gutils.h"
#include "clipboard.h"
#include "ranges.h"
#include "application.h"
......
......@@ -19,7 +19,7 @@
#include "sheet-object.h"
#include "item-cursor.h"
#include "gnumeric-util.h"
#include "utils.h"
#include "gutils.h"
#include "selection.h"
#include "application.h"
#include "cellspan.h"
......
......@@ -15,7 +15,7 @@
#include <gnome.h>
#include <string.h>
#include "gnumeric.h"
#include "utils.h"
#include "gutils.h"
#include "gnumeric-util.h"
#include "eval.h"
#include "number-match.h"
......
......@@ -19,7 +19,7 @@
#include "sheet-object.h"
#include "item-cursor.h"
#include "gnumeric-util.h"
#include "utils.h"
#include "gutils.h"
#include "selection.h"
#include "application.h"
#include "cellspan.h"
......