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

Pass a GdkKeymap to gdk_keymap_* functions #586

Merged
merged 1 commit into from Jun 24, 2017

Conversation

eht16
Copy link
Member

@eht16 eht16 commented Jun 24, 2017

This fixes crashes and critial warnings.
Fixes #585.

On Windows passing NULL as GdkKeymap crashed Geany, on other platforms there were "only" CRITICALs but possibly it could crash Geany there as well.
Using gdk_keymap_get_default() should suffice to use a valid GdkKeymap.

This fixes crashes and critial warnings.
Fixes geany#585.
@frlan
Copy link
Member

frlan commented Jun 24, 2017

Looks good to me. Merging for further testing.

@frlan frlan merged commit 716263c into geany:master Jun 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macros and Numbered Bookmarks plugins crash Geany
2 participants