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

[linux] fix on_window_show and on_window_hide signatures #268

Merged
merged 1 commit into from
Jan 4, 2023
Merged

[linux] fix on_window_show and on_window_hide signatures #268

merged 1 commit into from
Jan 4, 2023

Conversation

jpnurmi
Copy link
Contributor

@jpnurmi jpnurmi commented Jan 3, 2023

The GtkWidget::show and GtkWidget::hide signals do not have any "event" argument. It's important to have the correct signature to ensure that the user data argument points to the correct memory address.

The signals do not have an "event" argument:
- https://docs.gtk.org/gtk3/vfunc.Widget.show.html
- https://docs.gtk.org/gtk3/vfunc.Widget.hide.html

It's important to have the correct signature to ensure that the user
data pointer argument points to the correct memory address.
@jpnurmi jpnurmi changed the title [linux] fix on_window_show and on_window_hide signatures [linux] fix on_window_show and on_window_hide signatures Jan 3, 2023
@lijy91 lijy91 merged commit f1b1462 into leanflutter:main Jan 4, 2023
@jpnurmi jpnurmi deleted the on-show-hide branch January 4, 2023 14:03
obiwanzenobi pushed a commit to obiwanzenobi/window_manager that referenced this pull request May 25, 2023
…#268)

The signals do not have an "event" argument:
- https://docs.gtk.org/gtk3/vfunc.Widget.show.html
- https://docs.gtk.org/gtk3/vfunc.Widget.hide.html

It's important to have the correct signature to ensure that the user
data pointer argument points to the correct memory address.
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

Successfully merging this pull request may close these issues.

2 participants