Commit 39cb8040 authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan

We don't need guru_cursor.

2001-05-06  Jon K Hellan  <hellan@acm.org>

	* src/item-bar.h:  We don't need guru_cursor.

	* src/item-bar.c (item_bar_realize, item_bar_unrealize,
	set_cursor): Ditto
parent fd377e52
2001-05-06 Jon K Hellan <hellan@acm.org>
* src/item-bar.h: We don't need guru_cursor.
* src/item-bar.c (item_bar_realize, item_bar_unrealize,
set_cursor): Ditto
2001-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
......
2001-05-06 Jon K Hellan <hellan@acm.org>
* src/item-bar.h: We don't need guru_cursor.
* src/item-bar.c (item_bar_realize, item_bar_unrealize,
set_cursor): Ditto
2001-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
......
2001-05-06 Jon K Hellan <hellan@acm.org>
* src/item-bar.h: We don't need guru_cursor.
* src/item-bar.c (item_bar_realize, item_bar_unrealize,
set_cursor): Ditto
2001-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
......
2001-05-06 Jon K Hellan <hellan@acm.org>
* src/item-bar.h: We don't need guru_cursor.
* src/item-bar.c (item_bar_realize, item_bar_unrealize,
set_cursor): Ditto
2001-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
......
2001-05-06 Jon K Hellan <hellan@acm.org>
* src/item-bar.h: We don't need guru_cursor.
* src/item-bar.c (item_bar_realize, item_bar_unrealize,
set_cursor): Ditto
2001-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : update the edit_pos if
......
......@@ -166,8 +166,6 @@ item_bar_realize (GnomeCanvasItem *item)
item_bar->change_cursor = gdk_cursor_new (GDK_SB_H_DOUBLE_ARROW);
else
item_bar->change_cursor = gdk_cursor_new (GDK_SB_V_DOUBLE_ARROW);
item_bar->guru_cursor = gdk_cursor_new (GDK_LEFT_PTR);
item_bar_calc_size (item_bar);
}
......@@ -181,7 +179,6 @@ item_bar_unrealize (GnomeCanvasItem *item)
gdk_gc_unref (item_bar->shade);
gdk_cursor_destroy (item_bar->change_cursor);
gdk_cursor_destroy (item_bar->normal_cursor);
gdk_cursor_destroy (item_bar->guru_cursor);
item_bar_fonts_unref (item_bar);
if (GNOME_CANVAS_ITEM_CLASS (item_bar_parent_class)->unrealize)
......@@ -595,9 +592,7 @@ set_cursor (ItemBar *ib, int x, int y)
if (!canvas->window)
return;
if (workbook_edit_has_guru (ib->scg->wbcg)) {
cursor = ib->guru_cursor;
} else {
if (!workbook_edit_has_guru (ib->scg->wbcg)) {
if (ib->is_col_header) {
major = x;
minor = y;
......
......@@ -15,7 +15,6 @@ struct _ItemBar {
GdkGC *gc, *lines, *shade; /* Draw gc */
GdkCursor *normal_cursor;
GdkCursor *change_cursor;
GdkCursor *guru_cursor;
StyleFont *normal_font, *bold_font;
GtkWidget *tip; /* Tip for scrolling */
......
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