Commit a2afdf2f authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

#include fixes.

2005-04-19  Morten Welinder  <terra@gnome.org>

	* */*.c: #include fixes.
parent 0e1f2408
2005-04-19 Morten Welinder <terra@gnome.org>
* */*.c: #include fixes.
* src/rangefunc.c (range_mode): Fix the case where multiple
different values occur equally often.
......
2005-04-19 Morten Welinder <terra@gnome.org>
* */*.c: #include fixes.
* src/rangefunc.c (range_mode): Fix the case where multiple
different values occur equally often.
......
......@@ -33,6 +33,7 @@
#include <gtk/gtkselection.h>
#include <gtk/gtkicontheme.h>
#include <glib/gi18n.h>
#include <goffice/utils/go-glib-extras.h>
#define GNM_APP(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GNM_APP_TYPE, GnmApp))
#define GNM_APP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNM_APP_TYPE, GnmAppClass))
......
......@@ -23,6 +23,7 @@
#include "sheet-object-cell-comment.h"
#include "sheet-style.h"
#include "parse-util.h"
#include <goffice/utils/go-glib-extras.h>
#define USE_CELL_POOL 1
......
......@@ -74,6 +74,7 @@
#include <gsf/gsf-impl-utils.h>
#include <string.h>
#include <goffice/graph/gog-graph.h>
#include <goffice/utils/go-glib-extras.h>
/*
* There are several distinct stages to wrapping each command.
......
......@@ -36,6 +36,7 @@
#include "gutils.h"
#include <string.h>
#include <goffice/utils/go-glib-extras.h>
#define BUCKET_SIZE 128
#undef DEBUG_EVALUATION
......
......@@ -79,6 +79,7 @@
#include <gtk/gtkstock.h>
#include <gtk/gtktable.h>
#include <gtk/gtkbox.h>
#include <goffice/utils/go-glib-extras.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas-util.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas-line.h>
......
......@@ -23,6 +23,7 @@
#include <gnumeric.h>
#include "dialog-stf.h"
#include "gnm-format.h"
#include <goffice/utils/go-glib-extras.h>
/*************************************************************************************************
* SIGNAL HANDLERS
......
......@@ -28,6 +28,7 @@
#include "sheet-style.h"
#include <gdk/gdkkeysyms.h>
#include <goffice/utils/go-glib-extras.h>
static void
cb_nexpr_remove (GnmNamedExpr *nexpr)
......
......@@ -44,6 +44,7 @@
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <goffice/utils/go-glib-extras.h>
/*
* Using pools here probably does not save anything, but it's a darn
......
......@@ -33,6 +33,7 @@
#include "gnumeric-gconf.h"
#include <gsf/gsf-impl-utils.h>
#include <goffice/utils/go-glib-extras.h>
#include <sys/types.h>
#include <string.h>
......
......@@ -35,6 +35,7 @@
#include <goffice/app/io-context.h>
#include <string.h>
#include <goffice/utils/go-libxml-extras.h>
#include <goffice/utils/go-glib-extras.h>
#include <libxml/parser.h>
#define CC2XML(s) ((const xmlChar *)(s))
......
......@@ -32,6 +32,7 @@
#include "clipboard.h"
#include <gsf/gsf-impl-utils.h>
#include <gdk/gdkkeysyms.h>
#include <goffice/utils/go-glib-extras.h>
#include <string.h>
#define SCROLL_LOCK_MASK GDK_MOD5_MASK
......
......@@ -33,6 +33,7 @@
#include "gnumeric-gconf-priv.h"
#include "gutils.h"
#include "mstyle.h"
#include <goffice/utils/go-glib-extras.h>
static GnmAppPrefs prefs;
GnmAppPrefs const *gnm_app_prefs = &prefs;
......
......@@ -27,6 +27,7 @@
#include "commands.h"
#include "gui-util.h"
#include <goffice/utils/go-glib-extras.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas-line.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas-rect-ellipse.h>
#include <gtk/gtklabel.h>
......
#ifndef GNUMERIC_UTILS_H
#define GNUMERIC_UTILS_H
#include <goffice/utils/go-glib-extras.h>
#include <goffice/utils/regutf8.h>
/* System and user paths */
......
......@@ -23,6 +23,7 @@
#include "application.h"
#include "gutils.h"
#include "gnumeric-gconf.h"
#include <goffice/utils/go-glib-extras.h>
#include <stdio.h>
......
......@@ -45,6 +45,7 @@
#include <stdio.h>
#include <glib.h>
#include <string.h>
#include <goffice/utils/go-glib-extras.h>
static void
col_name_internal (GString *target, int col)
......
......@@ -27,6 +27,7 @@
#include "style.h"
#include "value.h"
#include "str.h"
#include <goffice/utils/go-glib-extras.h>
#include <string.h>
#include <errno.h>
......
......@@ -25,6 +25,7 @@
#include <goffice/utils/go-file.h>
#include <goffice/utils/datetime.h>
#include <goffice/utils/go-glib-extras.h>
#include <string.h>
#include <locale.h>
......
......@@ -44,6 +44,7 @@
#include <math.h>
#include <string.h>
#include <goffice/utils/go-glib-extras.h>
#define BUG_105322
#undef DEBUG_BOUNDING_BOX
......@@ -53,7 +54,7 @@
#endif
#if USE_RV_POOLS
/* Memory pool for strings. */
/* Memory pool for RenderedValue. */
static GOMemChunk *rendered_value_pool;
#define CHUNK_ALLOC(T,p) ((T*)go_mem_chunk_alloc (p))
#define CHUNK_FREE(p,v) go_mem_chunk_free ((p), (v))
......@@ -604,8 +605,8 @@ rendered_value_init (void)
#if USE_RV_POOLS
rendered_value_pool =
go_mem_chunk_new ("rendered value pool",
sizeof (RenderedValue),
16 * 1024 - 128);
sizeof (RenderedValue),
16 * 1024 - 128);
#endif
}
......
......@@ -48,6 +48,7 @@
#include "widgets/gnumeric-expr-entry.h"
#include <goffice/utils/go-file.h>
#include <goffice/utils/go-glib-extras.h>
#include <goffice/app/io-context.h>
#include <gdk/gdkkeysyms.h>
......
......@@ -49,6 +49,7 @@
#include <goffice/utils/go-file.h>
#include <goffice/utils/go-units.h>
#include <goffice/utils/go-libxml-extras.h>
#include <goffice/utils/go-glib-extras.h>
#include <goffice/app/go-cmd-context.h>
#include <gsf/gsf-impl-utils.h>
......
......@@ -37,6 +37,7 @@
#include <libxml/globals.h>
#include <goffice/cut-n-paste/foocanvas/foo-canvas.h>
#include <goffice/utils/go-glib-extras.h>
#include <gsf/gsf-impl-utils.h>
#include <string.h>
......
......@@ -34,6 +34,7 @@
#include "cell.h"
#include "gutils.h"
#include <glib/gi18n.h>
#include <goffice/utils/go-glib-extras.h>
#ifndef USE_TILE_POOLS
#define USE_TILE_POOLS 1
......
......@@ -41,6 +41,7 @@
#include "parse-util.h"
#include "gnm-format.h"
#include <goffice/utils/datetime.h>
#include <goffice/utils/go-glib-extras.h>
#include <stdlib.h>
#include <locale.h>
......
......@@ -32,6 +32,7 @@
#include "style.h"
#include "mstyle.h"
#include <goffice/app/io-context-priv.h>
#include <goffice/utils/go-glib-extras.h>
#include "command-context.h"
#include "workbook-control.h"
#include "workbook-view.h"
......
......@@ -11,6 +11,7 @@
#include <stdio.h>
#include <string.h>
#include <goffice/utils/go-glib-extras.h>
#ifndef USE_STRING_POOLS
#define USE_STRING_POOLS 1
......
......@@ -16,6 +16,7 @@
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <goffice/utils/go-glib-extras.h>
/*
* NOTE:
......
......@@ -12,6 +12,7 @@
#include <string.h>
#include <stdio.h>
#include <goffice/utils/go-glib-extras.h>
/**
* symbol_lookup:
......
......@@ -30,6 +30,7 @@
#include <sheet.h>
#include <cell.h>
#include <number-match.h>
#include <goffice/utils/go-glib-extras.h>
#ifndef USE_VALUE_POOLS
#define USE_VALUE_POOLS 1
......
......@@ -38,6 +38,7 @@
#include "gnm-marshalers.h"
#include "style-color.h"
#include <goffice/utils/go-file.h>
#include <goffice/utils/go-glib-extras.h>
#ifdef WITH_GTK
#ifdef WITH_GNOME
......
......@@ -54,6 +54,7 @@
#include "gnumeric-gconf.h"
#include <goffice/utils/go-libxml-extras.h>
#include <goffice/utils/go-glib-extras.h>
#include <goffice/app/error-info.h>
#include <gsf/gsf-libxml.h>
#include <gsf/gsf-input.h>
......
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