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

Add GType registration for SugarEventController and SugarSwipeController states #479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MostlyKIGuess
Copy link
Member

Content:

  • This Pull Request adds GType registration for the SugarEventController and SugarSwipeController states. This ensures that the enums are properly registered with the GObject type system, resolving the undeclared identifier errors.

Changes:

  • Added sugar_event_controller_state_get_type function to register SugarEventControllerState enum.
  • Added sugar_swipe_direction_get_type and sugar_swipe_direction_flags_get_type functions to register SugarSwipeDirection and SugarSwipeDirectionFlags enums.
  • Updated sugar-key-grabber.c to include the generated sugar-marshal.h and replaced deprecated functions.

Fixes:

  • Make erros that occured.

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.

1 participant