sugarlabs / sugar-toolkit-gtk3

Sugar Learning Environment, Activity Toolkit, GTK 3.
GNU Lesser General Public License v2.1
21 stars 80 forks source link

Use Gdk.RGBA as Gdk.Color is deprecated #432

Closed chimosky closed 4 years ago

chimosky commented 4 years ago

@quozl kindly review.

quozl commented 4 years ago

Instantly looks wrong to me, as Gdk.RGBA requires floating point inputs between 0.0 and 1.0 for each colour component, whereas Gdk.Color accepts integers between 0x0 and 0xffff.