Commit db10dc61 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

no need to handle bonobo ness here. we have signals now so things can be


2002-09-17  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_init) : no need to handle bonobo ness here.
	  we have signals now so things can be moved elsewhere.

	* src/gnm-marshalers.list : add NONE:OBJECT

	* src/bonobo-io.c : copy over remnants from workbook-private.
	* src/workbook-private.[ch] : delete

	* src/application.c (application_workbook_list_add) : emit signal.
	(application_workbook_list_remove) : emit signal.
	(application_workbook_list) : move workbook list into Application.
	(application_workbook_foreach) : ditto.
	(gnumeric_application_class_init) : add signals.

2002-09-17  Jody Goldberg <jody@gnome.org>

	* src/print.c (sheet_print) : tweak so that things compile again.
parent e85a93d1
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_init) : no need to handle bonobo ness here.
we have signals now so things can be moved elsewhere.
* src/gnm-marshalers.list : add NONE:OBJECT
* src/bonobo-io.c : copy over remnants from workbook-private.
* src/workbook-private.[ch] : delete
* src/application.c (application_workbook_list_add) : emit signal.
(application_workbook_list_remove) : emit signal.
(application_workbook_list) : move workbook list into Application.
(application_workbook_foreach) : ditto.
(gnumeric_application_class_init) : add signals.
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/print.c (sheet_print) : tweak so that things compile again.
2002-09-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_sheet_name_strip_number): Make utf8
......
SUBDIRS = . po idl src plugins icons templates doc schemas omf-install
SUBDIRS = . po src plugins icons templates doc schemas omf-install
XML_I18N_XML_KIND = --pass-through
......@@ -24,6 +24,8 @@ server_in_files = GNOME_Gnumeric.server.in
server_DATA = GNOME_Gnumeric.server
@INTLTOOL_SERVER_RULE@
CLEANFILES = intltool-extract intltool-merge intltool-update
EXTRA_DIST = \
gnumeric.desktop.in gnumeric.spec.in GNOME_Gnumeric.server.in.in\
gnumeric.keys.in gnumeric.mime \
......
......@@ -21,6 +21,7 @@ Jody:
* Support implicit iteration for array expressions.
* Fix sheet object ref counting error that Morten found.
* Fix crash when destroying unshared view.
* Start fleshing out support signals to give scripting more power
Morten:
* Leak plugging.
......
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_init) : no need to handle bonobo ness here.
we have signals now so things can be moved elsewhere.
* src/gnm-marshalers.list : add NONE:OBJECT
* src/bonobo-io.c : copy over remnants from workbook-private.
* src/workbook-private.[ch] : delete
* src/application.c (application_workbook_list_add) : emit signal.
(application_workbook_list_remove) : emit signal.
(application_workbook_list) : move workbook list into Application.
(application_workbook_foreach) : ditto.
(gnumeric_application_class_init) : add signals.
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/print.c (sheet_print) : tweak so that things compile again.
2002-09-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_sheet_name_strip_number): Make utf8
......
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/workbook.c (workbook_init) : no need to handle bonobo ness here.
we have signals now so things can be moved elsewhere.
* src/gnm-marshalers.list : add NONE:OBJECT
* src/bonobo-io.c : copy over remnants from workbook-private.
* src/workbook-private.[ch] : delete
* src/application.c (application_workbook_list_add) : emit signal.
(application_workbook_list_remove) : emit signal.
(application_workbook_list) : move workbook list into Application.
(application_workbook_foreach) : ditto.
(gnumeric_application_class_init) : add signals.
2002-09-17 Jody Goldberg <jody@gnome.org>
* src/print.c (sheet_print) : tweak so that things compile again.
2002-09-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_sheet_name_strip_number): Make utf8
......
......@@ -11,7 +11,6 @@ Project
- a SAXOut struct and utils as a wrapper for FILE/gnome-vfs & indent info
- xml_sax out using ^^
Optimizations, Polish and Extensions
====================================
This section lists various optimizations/extensions that can be done
......@@ -62,8 +61,6 @@ to features that already work.
* Font dialog
+ Get the list of *valid* fonts from GnomePrint
+ Filter font list by font encoding.
+ Create a simplistic dialog (to map to font-bold yes/no).
* Cut&Paste
......@@ -101,11 +98,6 @@ to features that already work.
Cell comments should be wrapped - at least so that they do not run
off the screen.
+ Headers for Columns and Rows
The captions should be customizable, ie instead of "A1", it should
be possible to display "Sales". We can use this with Michael's
name support.
+ Captions (ItemBar)
It should be possible to set the dimensions of the cols, rows to
contain information as "min_points", "max_points".
......@@ -137,9 +129,6 @@ to features that already work.
+ Supply default extension to use with a write operation.
+ Improve handling of unknown fonts and functions when importing.
* Unicode
+ Support throughout Gnumeric.
* Workbooks:
......@@ -162,13 +151,6 @@ to features that already work.
* Calculation
+ Rework 'Name' dependencies so we can re-express names.
+ Dependancies for - CELL, INDIRECT functions.
+ Implicit iteration. For an array expression that returns scalar results.
which takes a range as a scalar argument, apply the expression to each element
of the input range.
+ Make checks for inserting rows/cols more intelligent in the face of multiple selections.
Currently it just checks the first selected range for infiniteness we need to check all
selected ranges.
* Excel Import
......
......@@ -49,9 +49,11 @@ libgnomecanvas-2.0 >= 1.113.0
gal-2.0 >= 0.0.6
libgnome-2.0 >= 1.105.0
libgnomeui-2.0 >= 1.106.0
libgnomeprint-2.0 >= 1.114.0
libgnomeprintui-2.0 >= 1.114.0
libgnomeprint-2.0 >= 1.120.0
libgnomeprintui-2.0 >= 1.120.0
])
dnl add this after release
dnl libguppi-2 >= 0.50.0
AC_SUBST(GNUMERIC_LIBS)
AC_SUBST(GNUMERIC_CFLAGS)
......@@ -708,6 +710,7 @@ plugins/python/Makefile
plugins/python-loader/Makefile
plugins/gnome-glossary/Makefile
plugins/py-func/Makefile
plugins/corba/Makefile
plugins/perl/Makefile
plugins/perl/ext/Makefile.PL
plugins/guile/Makefile
......
......@@ -12,6 +12,12 @@ PYFUNC_DIR =
GNOME_GLOSSARY_DIR =
endif
if WITH_CORBA
CORBA_DIR = corba
else
CORBA_DIR =
endif
if WITH_PERL
PERL_DIR = perl
else
......@@ -51,7 +57,7 @@ SUBDIRS_FUNCTIONS = numtheory fn-database fn-date fn-eng fn-financial fn-info \
$(PYTHON_DIR) $(PERL_DIR) $(GUILE_DIR) $(GB_DIR) \
$(GDA_DIR)
SUBDIRS_LOADERS = $(PYTHON_LOADER_DIR)
SUBDIRS_LOADERS = $(PYTHON_LOADER_DIR) $(CORBA_DIR)
SUBDIRS_DATA_SOURCES = sample_datasource
......
......@@ -7,7 +7,7 @@ SUBDIRS = pixmaps dialogs widgets tools cut-n-paste-code
if WITH_BONOBO
component = gnumeric-component
endif
bin_PROGRAMS = gnumeric $(component)
bin_PROGRAMS = gnumeric $(component) # ssconvert
#noinst_PROGRAMS = number-match
INCLUDES = \
......@@ -251,8 +251,6 @@ GNUMERIC_BASE = \
workbook-format-toolbar.h \
workbook-object-toolbar.c \
workbook-object-toolbar.h \
workbook-private.h \
workbook-private.c \
workbook-view.c \
workbook-view.h \
workbook-control.c \
......@@ -343,6 +341,12 @@ gnumeric_component_LDFLAGS = $(gnumeric_LDFLAGS)
gnumeric_component_app_libs = $(gnumeric_app_libs)
endif
#ssconvert_LDADD = $(gnumeric_LDADD)
#ssconvert_LDFLAGS = $(gnumeric_LDFLAGS)
#ssconvert_SOURCES = \
# $(GNUMERIC_BASE) \
# ssconvert.c
gnm-marshalers.h : gnm-marshalers.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) $< --header --prefix=gnm_ > $@
gnm-marshalers.c : gnm-marshalers.list $(GLIB_GENMARSHAL)
......
......@@ -28,6 +28,8 @@
/* Signals */
enum {
WORKBOOK_ADDED,
WORKBOOK_REMOVED,
CLIPBOARD_MODIFIED,
LAST_SIGNAL
};
......@@ -48,12 +50,16 @@ struct _GnumericApplication {
/* Others */
GConfClient *gconf_client;
GtkWidget *pref_dialog;
GList *workbook_list;
};
typedef struct
{
GObjectClass parent;
void (*workbook_added) (GnumericApplication *gnm_app, Workbook *wb);
void (*workbook_removed) (GnumericApplication *gnm_app, Workbook *wb);
void (*clipboard_modified) (GnumericApplication *gnm_app);
} GnumericApplicationClass;
......@@ -98,21 +104,40 @@ add_icon (GtkIconFactory *factory,
gtk_icon_source_free (src);
}
static GList *workbook_list = NULL;
/**
* application_workbook_list_remove :
* @wb :
*
* Remove @wb from the application's list of workbooks.
**/
void
application_workbook_list_add (Workbook *wb)
{
workbook_list = g_list_prepend (workbook_list, wb);
g_return_if_fail (IS_WORKBOOK (wb));
app->workbook_list = g_list_prepend (app->workbook_list, wb);
g_signal_emit (G_OBJECT (app), signals [WORKBOOK_ADDED], 0, wb);
}
/**
* application_workbook_list_remove :
* @wb :
*
* Remove @wb from the application's list of workbooks.
**/
void
application_workbook_list_remove (Workbook *wb)
{
workbook_list = g_list_remove (workbook_list, wb);
g_return_if_fail (IS_WORKBOOK (wb));
app->workbook_list = g_list_remove (app->workbook_list, wb);
g_signal_emit (G_OBJECT (app), signals [WORKBOOK_ADDED], 0, wb);
}
GList *
application_workbook_list (void)
{
return workbook_list;
return app->workbook_list;
}
/**
......@@ -286,7 +311,7 @@ application_workbook_foreach (WorkbookCallback cback, gpointer data)
{
GList *l;
for (l = workbook_list; l; l = l->next){
for (l = app->workbook_list; l; l = l->next){
Workbook *wb = l->data;
if (!(*cback)(wb, data))
......@@ -596,6 +621,22 @@ gnumeric_application_class_init (GObjectClass *object_class)
/* Object class method overrides */
object_class->finalize = gnumeric_application_finalize;
signals [WORKBOOK_ADDED] = g_signal_new ("workbook_added",
GNUMERIC_APPLICATION_TYPE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GnumericApplicationClass, workbook_added),
(GSignalAccumulator) NULL, NULL,
gnm__VOID__OBJECT,
G_TYPE_NONE,
1, WORKBOOK_TYPE);
signals [WORKBOOK_REMOVED] = g_signal_new ("workbook_removed",
GNUMERIC_APPLICATION_TYPE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GnumericApplicationClass, workbook_removed),
(GSignalAccumulator) NULL, NULL,
gnm__VOID__OBJECT,
G_TYPE_NONE,
1, WORKBOOK_TYPE);
signals [CLIPBOARD_MODIFIED] = g_signal_new ("clipboard_modified",
GNUMERIC_APPLICATION_TYPE,
G_SIGNAL_RUN_LAST,
......@@ -603,7 +644,7 @@ gnumeric_application_class_init (GObjectClass *object_class)
(GSignalAccumulator) NULL, NULL,
gnm__VOID__VOID,
G_TYPE_NONE,
0, G_TYPE_NONE);
0);
}
static void
......@@ -618,6 +659,8 @@ gnumeric_application_init (GObject *obj)
gnm_app->gconf_client = NULL;
gnm_app->workbook_list = NULL;
app = gnm_app;
}
......
......@@ -532,3 +532,44 @@ gnumeric_bonobo_io_init (void)
register_file_saver (gnumeric_bonobo_saver);
}
#endif
#if 0
static int
workbook_persist_file_load (BonoboPersistFile *ps, const CORBA_char *filename,
CORBA_Environment *ev, void *closure)
{
WorkbookView *wbv = closure;
return wb_view_open_file (filename, /* FIXME */ NULL, FALSE, NULL) ? 0 : -1;
}
static int
workbook_persist_file_save (BonoboPersistFile *ps, const CORBA_char *filename,
CORBA_Environment *ev, void *closure)
{
WorkbookView *wbv = closure;
GnumFileSaver *fs;
fs = get_file_saver_by_id ("Gnumeric_XmlIO:gnum_xml");
return wb_view_save_as (wbv, fs, filename, NULL /* FIXME */) ? 0 : -1;
}
static void
workbook_bonobo_setup (WorkbookPrivate *wbp)
{
BonoboPersistFile *persist_file;
/* FIXME : This is totaly broken.
* 1) it does not belong here at the workbook level
* 2) which view use ?
* 3) it should not be in this file.
*/
persist_file = bonobo_persist_file_new (
workbook_persist_file_load,
workbook_persist_file_save,
wbv);
bonobo_object_add_interface (
BONOBO_OBJECT (wbp),
BONOBO_OBJECT (persist_file));
}
#endif
......@@ -15,7 +15,6 @@
#include "sheet.h"
#include "embeddable-grid.h"
#include "corba.h"
#include "workbook-private.h"
#include "ranges.h"
#include "value.h"
......
......@@ -14,7 +14,6 @@
#include "corba.h"
#include "commands.h"
#include "command-context-corba.h"
#include "workbook-private.h"
#include "sheet-private.h"
#include <bonobo/bonobo-object.h>
......
......@@ -22,6 +22,7 @@
#include <gnumeric-config.h>
#include "gnumeric.h"
#include "dependent.h"
#include "workbook.h"
#include "value.h"
#include "cell.h"
......@@ -30,7 +31,6 @@
#include "expr-impl.h"
#include "expr-name.h"
#include "workbook-view.h"
#include "workbook-private.h"
#include "rendered-value.h" /* FIXME : should not be needed with JIT-R */
#include "ranges.h"
#include "gutils.h"
......@@ -107,7 +107,7 @@ dependent_changed (Dependent *dep)
*/
dependent_link (dep, &pos);
if (dep->sheet->workbook->priv->recursive_dirty_enabled)
if (dep->sheet->workbook->recursive_dirty_enabled)
cb_dependent_queue_recalc (dep, NULL);
else
dependent_flag_recalc (dep);
......
......@@ -39,6 +39,8 @@
#include <libgnomeprint/gnome-print-master.h>
#include <libgnomeprint/gnome-print-unit.h>
#include <libgnomeprintui/gnome-print-paper-selector.h>
#include <libgnomeprintui/gnome-print-unit-selector.h>
#include <libgnomecanvas/gnome-canvas-util.h>
#include <libgnomecanvas/gnome-canvas-line.h>
#include <libgnomecanvas/gnome-canvas-text.h>
......
......@@ -22,8 +22,9 @@
# BOOL deprecated alias for BOOLEAN
BOOLEAN:POINTER
INT:INT
POINTER:INT,INT
NONE:INT,INT
NONE:NONE
NONE:POINTER
POINTER:INT,INT
NONE:OBJECT
NONE:STRING
......@@ -31,7 +31,6 @@
#include "value.h"
#include "cell.h"
#include "sheet.h"
#include "workbook-private.h"
#include "value.h"
#include "str.h"
#include "number-match.h"
......@@ -1137,30 +1136,6 @@ gnm_graph_series_add_dimension (xmlNode *series, char const *dim_name)
return res;
}
char *
gnm_graph_exception (CORBA_Environment *ev)
{
#ifdef GNOME2_CONVERSION_COMPLETE
if (ev->_major == CORBA_USER_EXCEPTION) {
if (!strcmp (ev->_id, "IDL:GNOME/Gnumeric/Error:1.0")) {
GNOME_Gnumeric_Error *err = ev->_params;
if (!err || !err->mesg) {
return "No general exception error message";
} else {
return err->mesg;
}
} else {
return ev->_id;
}
} else
return CORBA_exception_id (ev);
#else
g_warning ("FIXME");
return NULL;
#endif
}
GnmGraphPlot *
gnm_graph_add_plot (GnmGraph *graph)
{
......
......@@ -4,7 +4,6 @@
#include "gnumeric.h"
#include <gtk/gtkwidget.h>
#include <libxml/tree.h>
#include <bonobo.h>
/* Do not include idl here due to automake irritaion for the non-bonobo case */
typedef enum {
......@@ -32,10 +31,13 @@ int gnm_graph_add_vector (GnmGraph *graph, GnmExpr const *expr,
GnmGraphVector *gnm_graph_get_vector (GnmGraph *graph, int id);
GnmGraphPlot *gnm_graph_add_plot (GnmGraph *graph);
void gnm_graph_remove_plot (GnmGraph *graph, GnmGraphPlot *plot);
void gnm_graph_plot_set_type (GnmGraphPlot *plot, xmlNode *type);
GnmGraphPlot *gnm_graph_add_plot (GnmGraph *graph);
void gnm_graph_plot_set_type (GnmGraphPlot *plot, xmlNode *type);
void gnm_graph_plot_remove_series (GnmGraphPlot *plot, GnmGraphSeries *series);
GnmGraphPlot *gnm_graph_plot_add_series (GnmGraphPlot *plot);
void gnm_graph_plot_set_type (GnmGraphPlot *plot, xmlNode *type);
extern char const * const gnm_graph_vector_type_name [];
#define GNUMERIC_GRAPH_VECTOR_TYPE (gnm_graph_vector_get_type ())
......@@ -49,7 +51,4 @@ Dependent const *gnm_graph_vector_get_dependent (GnmGraphVector const *v);
xmlNode *gnm_graph_series_get_dimension (xmlNode *series, xmlChar const *element);
xmlNode *gnm_graph_series_add_dimension (xmlNode *series, char const *element);
char *gnm_graph_exception (CORBA_Environment *ev);
Bonobo_Control gnm_graph_get_config_control (GnmGraph *g, char const *which);
#endif /* GNUMERIC_GRAPH_H */
......@@ -29,7 +29,6 @@
#ifdef WITH_BONOBO
# include <bonobo.h>
# include "workbook-private.h"
#endif
#include <libgnome/gnome-help.h>
......
......@@ -694,7 +694,7 @@ cellref: CELLREF {
}
| sheetref CELLREF RANGE_SEP opt_sheetref CELLREF {
gboolean failed;
gboolean failed = FALSE;
unregister_allocation ($5);
unregister_allocation ($2);
......
......@@ -34,7 +34,6 @@
#include <libgnomeprint/gnome-print-config.h>
#include <libgnomeprintui/gnome-print-master-preview.h>
#include <libgnomeprintui/gnome-print-dialog.h>
#include <libgnomeprintui/gnome-printer-dialog.h>
/*
* Margins
......@@ -1131,7 +1130,7 @@ sheet_print (WorkbookControlGUI *wbcg, Sheet *sheet,
gnome_print_dialog_construct_range_page (
GNOME_PRINT_DIALOG (gnome_print_dialog),
GNOME_PRINT_RANGE_CURRENT | GNOME_PRINT_RANGE_ALL |
GNOME_PRINT_RANGE_SELECTION | GNOME_PRINT_RANGE_RANGE,
GNOME_PRINT_RANGE_SELECTOR | GNOME_PRINT_RANGE_RANGE,
first, end, _("Act_ive sheet"), _("S_heets"));
toplevel = wbcg_toplevel (wbcg);
......@@ -1162,7 +1161,7 @@ sheet_print (WorkbookControlGUI *wbcg, Sheet *sheet,
case GNOME_PRINT_RANGE_ALL:
default_range = PRINT_ALL_SHEETS;
break;
case GNOME_PRINT_RANGE_SELECTION:
case GNOME_PRINT_RANGE_SELECTOR:
default_range = PRINT_SHEET_SELECTION;
break;
case GNOME_PRINT_RANGE_RANGE:
......
......@@ -24,7 +24,6 @@
#include "workbook.h"
#include "sheet.h"
#include "workbook-private.h"
#include "gui-util.h"
#include <math.h>
......
......@@ -13,7 +13,6 @@
#include "sheet-object-container.h"
#include "workbook-control-gui-priv.h"
#include "workbook-private.h"
#include "sheet.h"
#include "gui-util.h"
#include "sheet-control-gui.h"
......
......@@ -25,11 +25,11 @@
#include "sheet.h"
#include "command-context.h"
#include "workbook.h"
#include "sheet-control.h"
#include "sheet-style.h"
#include "workbook-control.h"
#include "workbook-view.h"
#include "workbook-private.h"
#include "workbook-edit.h"
#include "parse-util.h"
#include "dependent.h"
......@@ -2476,7 +2476,7 @@ sheet_cell_remove (Sheet *sheet, Cell *cell, gboolean redraw)
}
sheet_cell_destroy (sheet, cell,
sheet->workbook->priv->recursive_dirty_enabled);
sheet->workbook->recursive_dirty_enabled);
}
static Value *
......
......@@ -12,7 +12,6 @@
#include "file.h"
#include <glib-object.h>
typedef struct _WorkbookPrivate WorkbookPrivate;
struct _Workbook {
GObject base;
......@@ -24,9 +23,6 @@ struct _Workbook {
gboolean modified;
/* Attribute list */
GList *attributes;
gchar *filename;
FileFormatLevel file_format_level;
GnumFileSaver *file_saver;
......@@ -41,15 +37,13 @@ struct _Workbook {
/* Attached summary information */
SummaryInfo *summary_info;
void *corba_server;
struct {
gboolean enabled;
int max_number;
double tolerance;
} iteration;
WorkbookPrivate *priv;
gboolean during_destruction;
gboolean recursive_dirty_enabled;
};
typedef struct {
......
/* vim: set sw=8: */
/*
* workbook-private.c: support routines for the workbook private structure.
* This is a transitional object to help slip the control specific aspects
* of workbook into less visible areas.
*
* Copyright (C) 2000 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
#include <gnumeric-config.h>
#include "gnumeric.h"
#include "workbook-private.h"
#ifdef WITH_BONOBO
#ifdef GNOME2_CONVERSION_COMPLETE
#define WORKBOOK_PRIVATE_TYPE (workbook_private_get_type ())
#define WORKBOOK_PRIVATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), WORKBOOK_PRIVATE_TYPE, WorkbookPrivate))
#define WORKBOOK_PRIVATE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), WORKBOOK_PRIVATE_TYPE, WorkbookPrivateClass))
#define IS_WORKBOOK_PRIVATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), WORKBOOK_PRIVATE_TYPE))
#define IS_WORKBOOK_PRIVATE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), WORKBOOK_PRIVATE_TYPE))
typedef struct {
BonoboObjectClass bonobo_parent_class;
} WorkbookPrivateClass;
GType workbook_private_get_type (void);
static void
workbook_private_init (GtkObject *object)
{
WorkbookPrivate *p = WORKBOOK_PRIVATE (object);
p->recursive_dirty_enabled = TRUE;
}
static void
workbook_private_class_init (GtkObjectClass *object_class)
{
}
GType
workbook_private_get_type (void)
{
static GType type = 0;
if (!type) {
GTypeInfo info = {
"WorkbookPrivate",
sizeof (WorkbookPrivate),
sizeof (WorkbookPrivateClass),
(GtkClassInitFunc) workbook_private_class_init,
(GtkObjectInitFunc) workbook_private_init,
NULL, /* reserved 1 */
NULL, /* reserved 2 */
(GtkClassInitFunc) NULL
};