GNOME Bugzilla – Bug 788205
background: Remove GdkColor deprecation warnings
Last modified: 2018-01-31 20:43:27 UTC
Created attachment 360479 [details] [review] background: Remove GdkColor deprecation warnings Switch from deprecated GdkColor to GdkRGBA
Review of attachment 360479 [details] [review]: ::: panels/background/cc-background-item.c @@ +182,3 @@ + s.green = scolor.green * 65535; + s.blue = scolor.blue * 65535; + gnome_bg_set_color (item->bg, item->shading, &p, &s); I don't see much point in porting the rest of the code while having to keep this for this API
I've opened bug 789840 to add new API to libgnome-desktop so we can drop this workaround.
Created attachment 362863 [details] [review] background: Remove GdkColor deprecation warnings Equivalent patch if the change in bug 789840 is accepted.
Comment on attachment 360479 [details] [review] background: Remove GdkColor deprecation warnings Marking the first patch as obsolete. Let's get the patch at bug 789840 merged, then we apply this one.
Review of attachment 362863 [details] [review]: Blocked by 789840, but it looks good to me.
Created attachment 367605 [details] [review] background: Remove GdkColor deprecation warnings Rebase on master, bump gnome-desktop version.
Review of attachment 367605 [details] [review]: Looks good.
Reopening because this was never pushed. Please do bump the gnome-desktop version in configure.ac when pushing.
I mean, in gnome-desktop's configure.ac.
Weird, I swear I pushed it...
(In reply to Michael Catanzaro from comment #9) > I mean, in gnome-desktop's configure.ac. I'll do this now