Commit 0e4c8541 authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks

update for new project API.

2000-12-01  Michael Meeks  <michael@helixcode.com>

	* plugin.c (generic_marshaller): update for new project API.

2000-12-01  Michael Meeks  <michael@helixcode.com>

	* configure.in: check for gb >= 0.0.17
parent 3916b17f
2000-12-01 Michael Meeks <michael@helixcode.com>
* configure.in: check for gb >= 0.0.17
2000-12-02 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (cellrange_relocate) : fix the logic that was broken when
......
2000-12-01 Michael Meeks <michael@helixcode.com>
* configure.in: check for gb >= 0.0.17
2000-12-02 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (cellrange_relocate) : fix the logic that was broken when
......
2000-12-01 Michael Meeks <michael@helixcode.com>
* configure.in: check for gb >= 0.0.17
2000-12-02 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (cellrange_relocate) : fix the logic that was broken when
......
2000-12-01 Michael Meeks <michael@helixcode.com>
* configure.in: check for gb >= 0.0.17
2000-12-02 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (cellrange_relocate) : fix the logic that was broken when
......
2000-12-01 Michael Meeks <michael@helixcode.com>
* configure.in: check for gb >= 0.0.17
2000-12-02 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (cellrange_relocate) : fix the logic that was broken when
......
......@@ -280,10 +280,10 @@ AC_ARG_WITH(gb,
)
if $try_gb; then
AC_MSG_CHECKING(for Gb >= 0.0.15)
AC_MSG_CHECKING(for Gb >= 0.0.17)
if gnome-config --libs gb > /dev/null 2>&1; then
vers=`gnome-config --modversion gb | awk 'BEGIN { FS = "."; } { print $1 * 10000 + $2 * 100 + $3; }'`
if test "$vers" -ge 000015; then
if test "$vers" -ge 000017; then
gb_ok=true
else
gb_ok=false
......
2000-12-01 Michael Meeks <michael@helixcode.com>
* plugin.c (generic_marshaller): update for new project API.
2000-11-18 Jody Goldberg <jgoldberg@home.com>
* Release 0.59
......
......@@ -86,10 +86,14 @@ generic_marshaller (FunctionEvalInfo *ei, GList *nodes)
{ /* Register Excel objects with GB */
application = excel_gb_application_new (ei->pos->sheet->workbook);
gbrun_project_register_object (wd->proj, GBRUN_OBJECT (application));
gbrun_project_register_object (
wd->proj, "Workbook", GBRUN_OBJECT (application));
gb_object_unref (GB_OBJECT (application));
worksheet = excel_gb_worksheet_new (ei->pos->sheet);
gbrun_project_register_object (wd->proj, GBRUN_OBJECT (worksheet));
gbrun_project_register_object (
wd->proj, "Worksheet", GBRUN_OBJECT (worksheet));
gb_object_unref (GB_OBJECT (worksheet));
}
for (l = nodes; l; l = l->next) {
......@@ -133,10 +137,10 @@ generic_marshaller (FunctionEvalInfo *ei, GList *nodes)
}
{ /* De-Register Excel objects with GB */
gbrun_project_deregister_object (wd->proj, GBRUN_OBJECT (application));
gbrun_project_deregister_object (wd->proj, "Workbook");
gtk_object_unref (GTK_OBJECT (application));
gbrun_project_deregister_object (wd->proj, GBRUN_OBJECT (worksheet));
gbrun_project_deregister_object (wd->proj, "Worksheet");
gtk_object_unref (GTK_OBJECT (worksheet));
}
......
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