diff options
Diffstat (limited to 'widgets/misc/e-cursors.c')
-rw-r--r-- | widgets/misc/e-cursors.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c index 2111d16d3b..4927277833 100644 --- a/widgets/misc/e-cursors.c +++ b/widgets/misc/e-cursors.c @@ -13,6 +13,13 @@ typedef struct { extern GnumericCursorDef gnumeric_cursors []; -void cursors_init (void); -void cursors_shutdown (void); +void cursors_init (void); +void cursors_shutdown (void); + +#define cursor_set(win,c) \ + gdk_window_set_cursor (win, gnumeric_cursors [c].cursor) + +#define cursor_set_widget(w,c) \ + gdk_window_set_cursor (GTK_WIDGET (w)->window, gnumeric_cursors [c].cursor) + #endif |