Commit 3cdb09ee authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Arturo Espinosa

Removed the canvas parameter from calls to gnome_canvas_item_new().

1998-07-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* src/gnumeric-sheet.c src/item-bar.c src/sheet.c: Removed the
	canvas parameter from calls to gnome_canvas_item_new().
parent e6dd17bf
1998-07-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/gnumeric-sheet.c src/item-bar.c src/sheet.c: Removed the
canvas parameter from calls to gnome_canvas_item_new().
1998-07-18 Raja R Harinath <harinath@cs.umn.edu>
* src/Makefile.am (noinst_PROGRAMS): Don't bother installing
......
1998-07-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/gnumeric-sheet.c src/item-bar.c src/sheet.c: Removed the
canvas parameter from calls to gnome_canvas_item_new().
1998-07-18 Raja R Harinath <harinath@cs.umn.edu>
* src/Makefile.am (noinst_PROGRAMS): Don't bother installing
......
1998-07-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/gnumeric-sheet.c src/item-bar.c src/sheet.c: Removed the
canvas parameter from calls to gnome_canvas_item_new().
1998-07-18 Raja R Harinath <harinath@cs.umn.edu>
* src/Makefile.am (noinst_PROGRAMS): Don't bother installing
......
1998-07-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* src/gnumeric-sheet.c src/item-bar.c src/sheet.c: Removed the
canvas parameter from calls to gnome_canvas_item_new().
1998-07-18 Raja R Harinath <harinath@cs.umn.edu>
* src/Makefile.am (noinst_PROGRAMS): Don't bother installing
......
msgid ""
msgstr ""
"Date: 1998-07-13 22:25:48-0500\n"
"Date: 1998-07-14 12:30:20-0500\n"
"From: Federico Mena Quintero,Pregonero # 53,(525)-643-6634,(525)-643-6634, <federico@casiopea.quartic.org>\n"
"Content-Type: text/plain; charset=\n"
"Xgettext-Options: --default-domain=gnumeric --directory=.. --add-comments --keyword=_ --keyword=N_ --files-from=./POTFILES.in\n"
......@@ -154,10 +154,10 @@ msgstr ""
msgid "December"
msgstr ""
#: src/workbook.c:17
#: src/workbook.c:18
msgid "Exit"
msgstr ""
#: src/workbook.c:23
#: src/workbook.c:24
msgid "File"
msgstr ""
......@@ -61,9 +61,10 @@ gnumeric_sheet_cursor_set (GnumericSheet *sheet, int col, int row)
void
gnumeric_sheet_accept_pending_output (GnumericSheet *sheet)
{
Cell *cell;
g_return_if_fail (sheet != NULL);
g_return_if_fail (GNUMERIC_IS_SHEET (sheet));
Cell *cell;
cell = sheet_cell_new_with_text (
sheet->sheet, sheet->cursor_col, sheet->cursor_row,
......@@ -125,8 +126,7 @@ start_editing_at_cursor (GnumericSheet *sheet, GtkWidget *entry)
GnomeCanvasItem *item;
GnomeCanvas *canvas = GNOME_CANVAS (sheet);
item = gnome_canvas_item_new (canvas,
GNOME_CANVAS_GROUP(canvas->root),
item = gnome_canvas_item_new (GNOME_CANVAS_GROUP(canvas->root),
item_edit_get_type (),
"ItemEdit::Sheet", sheet->sheet,
"ItemEdit::Grid", sheet->item_grid,
......@@ -296,14 +296,14 @@ gnumeric_sheet_new (Sheet *sheet)
gsheet_group = GNOME_CANVAS_GROUP (gsheet_canvas->root);
/* The grid */
item = gnome_canvas_item_new (gsheet_canvas, gsheet_group,
item = gnome_canvas_item_new (gsheet_group,
item_grid_get_type (),
"ItemGrid::Sheet", sheet,
NULL);
gsheet->item_grid = ITEM_GRID (item);
/* The cursor */
item = gnome_canvas_item_new (gsheet_canvas, gsheet_group,
item = gnome_canvas_item_new (gsheet_group,
item_cursor_get_type (),
"ItemCursor::Sheet", sheet,
"ItemCursor::Grid", gsheet->item_grid,
......
......@@ -61,9 +61,10 @@ gnumeric_sheet_cursor_set (GnumericSheet *sheet, int col, int row)
void
gnumeric_sheet_accept_pending_output (GnumericSheet *sheet)
{
Cell *cell;
g_return_if_fail (sheet != NULL);
g_return_if_fail (GNUMERIC_IS_SHEET (sheet));
Cell *cell;
cell = sheet_cell_new_with_text (
sheet->sheet, sheet->cursor_col, sheet->cursor_row,
......@@ -125,8 +126,7 @@ start_editing_at_cursor (GnumericSheet *sheet, GtkWidget *entry)
GnomeCanvasItem *item;
GnomeCanvas *canvas = GNOME_CANVAS (sheet);
item = gnome_canvas_item_new (canvas,
GNOME_CANVAS_GROUP(canvas->root),
item = gnome_canvas_item_new (GNOME_CANVAS_GROUP(canvas->root),
item_edit_get_type (),
"ItemEdit::Sheet", sheet->sheet,
"ItemEdit::Grid", sheet->item_grid,
......@@ -296,14 +296,14 @@ gnumeric_sheet_new (Sheet *sheet)
gsheet_group = GNOME_CANVAS_GROUP (gsheet_canvas->root);
/* The grid */
item = gnome_canvas_item_new (gsheet_canvas, gsheet_group,
item = gnome_canvas_item_new (gsheet_group,
item_grid_get_type (),
"ItemGrid::Sheet", sheet,
NULL);
gsheet->item_grid = ITEM_GRID (item);
/* The cursor */
item = gnome_canvas_item_new (gsheet_canvas, gsheet_group,
item = gnome_canvas_item_new (gsheet_group,
item_cursor_get_type (),
"ItemCursor::Sheet", sheet,
"ItemCursor::Grid", gsheet->item_grid,
......
......@@ -286,8 +286,7 @@ item_bar_start_resize (ItemBar *item_bar, int pos)
printf ("THIS SHOULD BE ADDING THE LINE!\n");
/* Add a guideline to the sheet canvas */
item = gnome_canvas_item_new (GNOME_CANVAS_ITEM (item_bar)->canvas,
group,
item = gnome_canvas_item_new (group,
gnome_canvas_rect_get_type (),
"GnomeCanvasRE::x1", x1,
"GnomeCanvasRE::y1", y1,
......
......@@ -86,7 +86,7 @@ new_canvas_bar (Sheet *sheet, GtkOrientation o, GnomeCanvasItem **itemp)
}
gnome_canvas_set_size (GNOME_CANVAS (canvas), w, h);
group = GNOME_CANVAS_GROUP (GNOME_CANVAS (canvas)->root);
item = gnome_canvas_item_new (GNOME_CANVAS (canvas), group,
item = gnome_canvas_item_new (group,
item_bar_get_type (),
"ItemBar::Sheet", sheet,
"ItemBar::Orientation", o,
......
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