Commit 828a3685 authored by Arturo Espinosa's avatar Arturo Espinosa

Make it work with new Bonobo

parent b78a5ea0
1999-07-05 Miguel de Icaza <miguel@gnu.org>
* src/Gnumeric.idl: Use new interface name.
1999-07-06 Jukka-Pekka Iivonen <iivonen@iki.fi>
*src/dialog-analysis-tools.c, src/analysis-tools.c: Added some
......
1999-07-05 Miguel de Icaza <miguel@gnu.org>
* src/Gnumeric.idl: Use new interface name.
1999-07-06 Jukka-Pekka Iivonen <iivonen@iki.fi>
*src/dialog-analysis-tools.c, src/analysis-tools.c: Added some
......
1999-07-05 Miguel de Icaza <miguel@gnu.org>
* src/Gnumeric.idl: Use new interface name.
1999-07-06 Jukka-Pekka Iivonen <iivonen@iki.fi>
*src/dialog-analysis-tools.c, src/analysis-tools.c: Added some
......
1999-07-05 Miguel de Icaza <miguel@gnu.org>
* src/Gnumeric.idl: Use new interface name.
1999-07-06 Jukka-Pekka Iivonen <iivonen@iki.fi>
*src/dialog-analysis-tools.c, src/analysis-tools.c: Added some
......
......@@ -163,7 +163,7 @@ Workbook_corba_class_init ()
gnome_gnumeric_workbook_vepv.GNOME_Gnumeric_Workbook_epv =
&gnome_gnumeric_workbook_epv;
gnome_gnumeric_workbook_vepv.GNOME_obj_epv =
&gnome_obj_epv;
&gnome_object_epv;
gnome_gnumeric_workbook_epv.sheet_new = Workbook_sheet_new;
gnome_gnumeric_workbook_epv.sheet_lookup = Workbook_sheet_lookup;
......
......@@ -187,7 +187,7 @@ new_frame(char *name, GtkWidget *target_box)
return box;
}
void
static void
error_in_entry(Workbook *wb, GtkWidget *entry, char *err_str)
{
gnumeric_notice (wb, GNOME_MESSAGE_BOX_ERROR, err_str);
......@@ -289,7 +289,7 @@ static void
dialog_correlation_tool(Workbook *wb, Sheet *sheet)
{
static GtkWidget *dialog, *box, *group_box, *groupped_label;
static GtkWidget *range_entry, *r, *output_range_entry, *hbox;
static GtkWidget *range_entry, *r, *output_range_entry;
static GSList *group_ops, *output_ops;
data_analysis_output_t dao;
......@@ -297,7 +297,7 @@ dialog_correlation_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection;
static Range range;
int i=0, output, size;
int i=0, output;
if (!dialog) {
dialog = new_dialog("Correlation", wb->toplevel);
......@@ -381,7 +381,7 @@ dialog_covariance_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range;
int i=0, size;
int i=0;
if (!dialog) {
dialog = new_dialog("Covariance", wb->toplevel);
......@@ -575,7 +575,7 @@ dialog_descriptive_stat_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range;
int i=0, size;
int i=0;
if (!dialog) {
dialog = new_dialog("Descriptive Statistics", wb->toplevel);
......@@ -677,7 +677,6 @@ dialog_ztest_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("z-Test: Two Sample for Means",
......@@ -788,7 +787,6 @@ dialog_ttest_paired_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Paired Two Sample for Means",
......@@ -887,7 +885,6 @@ dialog_ttest_eq_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Two-Sample Assuming "
......@@ -987,7 +984,6 @@ dialog_ttest_neq_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Two-Sample Assuming "
......@@ -1087,7 +1083,6 @@ dialog_ftest_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("F-Test: Two-Sample for Variances",
......
......@@ -187,7 +187,7 @@ new_frame(char *name, GtkWidget *target_box)
return box;
}
void
static void
error_in_entry(Workbook *wb, GtkWidget *entry, char *err_str)
{
gnumeric_notice (wb, GNOME_MESSAGE_BOX_ERROR, err_str);
......@@ -289,7 +289,7 @@ static void
dialog_correlation_tool(Workbook *wb, Sheet *sheet)
{
static GtkWidget *dialog, *box, *group_box, *groupped_label;
static GtkWidget *range_entry, *r, *output_range_entry, *hbox;
static GtkWidget *range_entry, *r, *output_range_entry;
static GSList *group_ops, *output_ops;
data_analysis_output_t dao;
......@@ -297,7 +297,7 @@ dialog_correlation_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection;
static Range range;
int i=0, output, size;
int i=0, output;
if (!dialog) {
dialog = new_dialog("Correlation", wb->toplevel);
......@@ -381,7 +381,7 @@ dialog_covariance_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range;
int i=0, size;
int i=0;
if (!dialog) {
dialog = new_dialog("Covariance", wb->toplevel);
......@@ -575,7 +575,7 @@ dialog_descriptive_stat_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range;
int i=0, size;
int i=0;
if (!dialog) {
dialog = new_dialog("Descriptive Statistics", wb->toplevel);
......@@ -677,7 +677,6 @@ dialog_ztest_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("z-Test: Two Sample for Means",
......@@ -788,7 +787,6 @@ dialog_ttest_paired_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Paired Two Sample for Means",
......@@ -887,7 +885,6 @@ dialog_ttest_eq_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Two-Sample Assuming "
......@@ -987,7 +984,6 @@ dialog_ttest_neq_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("t-Test: Two-Sample Assuming "
......@@ -1087,7 +1083,6 @@ dialog_ftest_tool(Workbook *wb, Sheet *sheet)
char *text;
int selection, output;
static Range range_input1, range_input2;
int i=0, size;
if (!dialog) {
dialog = new_dialog("F-Test: Two-Sample for Variances",
......
......@@ -15,8 +15,8 @@
#include "gnumeric-sheet.h"
#include "sheet-object-container.h"
#include <bonobo/gnome-container.h>
#include <bonobo/gnome-component.h>
#include <bonobo/gnome-component-client.h>
#include <bonobo/gnome-embeddable.h>
#include <bonobo/gnome-embeddable-client.h>
#include <bonobo/gnome-view-frame.h>
#if 0
......@@ -114,7 +114,7 @@ sheet_object_container_land (SheetObject *so)
GnomeViewFrame *view_frame;
GtkWidget *view_widget;
view_frame = gnome_bonobo_object_client_new_view (
view_frame = gnome_embeddable_client_new_view (
soc->object_server, soc->client_site);
view_widget = gnome_view_frame_get_wrapper (view_frame);
item = make_container_item (so, sheet_view, view_widget);
......@@ -135,7 +135,7 @@ sheet_object_container_realize (SheetObject *so, SheetView *sheet_view)
if (soc->client_site == NULL)
view_widget = gtk_button_new_with_label (_("Object server"));
else {
view_frame = gnome_bonobo_object_client_new_view (
view_frame = gnome_embeddable_client_new_view (
soc->object_server, soc->client_site);
view_widget = gnome_view_frame_get_wrapper (view_frame);
......
......@@ -3866,7 +3866,7 @@ void
sheet_insert_object (Sheet *sheet, char *repoid)
{
GnomeClientSite *client_site;
GnomeObject *object_server;
GnomeUnknown *object_server;
GList *l;
g_return_if_fail (sheet != 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