mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace register GTk3.16 deprecated function gdk_cursor_new
This commit is contained in:
parent
7d1abfa28f
commit
200f7baf53
@ -585,7 +585,11 @@ gnc_header_init (GncHeader *header)
|
||||
header->cursor_name = NULL;
|
||||
header->in_resize = FALSE;
|
||||
header->resize_col = -1;
|
||||
#if GTK_CHECK_VERSION(3,16,0)
|
||||
header->resize_cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_SB_H_DOUBLE_ARROW);
|
||||
#else
|
||||
header->resize_cursor = gdk_cursor_new (GDK_SB_H_DOUBLE_ARROW);
|
||||
#endif
|
||||
header->normal_cursor = NULL;
|
||||
header->height = 20;
|
||||
header->width = 400;
|
||||
|
Loading…
Reference in New Issue
Block a user