Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated function in glg_cairo.c #2

Open
jonnyns opened this issue Mar 27, 2022 · 0 comments
Open

Use of deprecated function in glg_cairo.c #2

jonnyns opened this issue Mar 27, 2022 · 0 comments

Comments

@jonnyns
Copy link

jonnyns commented Mar 27, 2022

The function gdk_display_get_device_manager() has been deprecated since version 3.20.
In glg_cairo.c lines 640-641
priv->device_manager = gdk_display_get_device_manager ( gtk_widget_get_display (widget) ); priv->device_pointer = gdk_device_manager_get_client_pointer (priv->device_manager);
should be replaced by
GdkSeat *seat = gdk_display_get_default_seat ( gtk_widget_get_display (widget) ); priv->device_pointer = gdk_seat_get_pointer(seat);
in order to compile correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant