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

Upgraded deprecated Gdk.color.parse to newer Gdk.color_parse #30

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Upgraded deprecated Gdk.color.parse to newer Gdk.color_parse #30

merged 1 commit into from
Feb 8, 2023

Conversation

marsian83
Copy link
Contributor

Overview

Gdk.color.parse has been deprecated and Gdk.color_parse is the newer function to implement the functionality and I have changed BlockParty.py to use the newer function instead of the deprecated one

Description

addressing #29 Gdk.color.parse has been deprecated since version 3.14 as mentioned here in the official Docs.
Gdk.color_parse achieves that functionality (check here)
The implementation is a little different though as we don't need to select any element from an array like we had to when using color.parse, we can simply use the returned value as the value returned is a Gdk.Color.

@marsian83 marsian83 mentioned this pull request Feb 8, 2023
@quozl quozl merged commit 62de0d4 into sugarlabs:master Feb 8, 2023
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