Merge lp:~jbicha/unity-control-center/gd-3-28 into lp:unity-control-center

Proposed by Jeremy Bícha
Status: Merged
Approved by: Jeremy Bícha
Approved revision: no longer in the source branch.
Merged at revision: 12910
Proposed branch: lp:~jbicha/unity-control-center/gd-3-28
Merge into: lp:unity-control-center
Diff against target: 93 lines (+22/-13)
4 files modified
configure.ac (+1/-1)
debian/changelog (+8/-0)
debian/control (+1/-1)
panels/appearance/cc-appearance-item.c (+12/-11)
To merge this branch: bzr merge lp:~jbicha/unity-control-center/gd-3-28
Reviewer Review Type Date Requested Status
Unity Control Center development team Pending
Review via email: mp+337861@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2017-12-07 05:41:33 +0000
+++ configure.ac 2018-02-16 13:13:23 +0000
@@ -115,7 +115,7 @@
115POLKIT_REQUIRED_VERSION=0.103115POLKIT_REQUIRED_VERSION=0.103
116NETWORK_MANAGER_REQUIRED_VERSION=0.8.992116NETWORK_MANAGER_REQUIRED_VERSION=0.8.992
117LIBNOTIFY_REQUIRED_VERSION=0.7.3117LIBNOTIFY_REQUIRED_VERSION=0.7.3
118GNOME_DESKTOP_REQUIRED_VERSION=3.5.91118GNOME_DESKTOP_REQUIRED_VERSION=3.27.3
119SCHEMAS_REQUIRED_VERSION=3.15.4119SCHEMAS_REQUIRED_VERSION=3.15.4
120LIBWACOM_REQUIRED_VERSION=0.7120LIBWACOM_REQUIRED_VERSION=0.7
121CLUTTER_REQUIRED_VERSION=1.11.3121CLUTTER_REQUIRED_VERSION=1.11.3
122122
=== modified file 'debian/changelog'
--- debian/changelog 2017-12-25 19:10:40 +0000
+++ debian/changelog 2018-02-16 13:13:23 +0000
@@ -1,3 +1,11 @@
1unity-control-center (15.04.0+17.10.20171225-0ubuntu3) bionic; urgency=medium
2
3 * Build against latest gnome-desktop3, cherry-picked fix from
4 gnome-control-center.
5 * Bump minimum gnome-desktop3 to 3.27.3
6
7 -- Jeremy Bicha <jbicha@ubuntu.com> Mon, 12 Feb 2018 21:58:09 -0500
8
1unity-control-center (15.04.0+17.10.20171225-0ubuntu1) bionic; urgency=medium9unity-control-center (15.04.0+17.10.20171225-0ubuntu1) bionic; urgency=medium
210
3 [ Andrea Azzarone ]11 [ Andrea Azzarone ]
412
=== modified file 'debian/control'
--- debian/control 2017-09-30 22:30:57 +0000
+++ debian/control 2018-02-16 13:13:23 +0000
@@ -26,7 +26,7 @@
26 libgeonames-dev,26 libgeonames-dev,
27 libglib2.0-dev (>= 2.31.2),27 libglib2.0-dev (>= 2.31.2),
28 libgnome-bluetooth-dev (>= 3.3.4),28 libgnome-bluetooth-dev (>= 3.3.4),
29 libgnome-desktop-3-dev (>= 3.5.91),29 libgnome-desktop-3-dev (>= 3.27.3),
30 libgnome-menu-3-dev,30 libgnome-menu-3-dev,
31 libgnomekbd-dev,31 libgnomekbd-dev,
32 libgoa-1.0-dev (>= 3.5.90),32 libgoa-1.0-dev (>= 3.5.90),
3333
=== modified file 'panels/appearance/cc-appearance-item.c'
--- panels/appearance/cc-appearance-item.c 2014-01-28 22:26:00 +0000
+++ panels/appearance/cc-appearance-item.c 2018-02-16 13:13:23 +0000
@@ -93,8 +93,9 @@
93static void93static void
94set_bg_properties (CcAppearanceItem *item)94set_bg_properties (CcAppearanceItem *item)
95{95{
96 GdkColor pcolor = { 0, 0, 0, 0 };96 GdkRGBA pcolor = { 0, 0, 0, 0 };
97 GdkColor scolor = { 0, 0, 0, 0 };97 GdkRGBA scolor = { 0, 0, 0, 0 };
98 GdkColor p, s;
9899
99 if (item->priv->uri) {100 if (item->priv->uri) {
100 GFile *file;101 GFile *file;
@@ -109,13 +110,13 @@
109 }110 }
110111
111 if (item->priv->primary_color != NULL) {112 if (item->priv->primary_color != NULL) {
112 gdk_color_parse (item->priv->primary_color, &pcolor);113 gdk_rgba_parse (&pcolor, item->priv->primary_color);
113 }114 }
114 if (item->priv->secondary_color != NULL) {115 if (item->priv->secondary_color != NULL) {
115 gdk_color_parse (item->priv->secondary_color, &scolor);116 gdk_rgba_parse (&scolor, item->priv->secondary_color);
116 }117 }
117118
118 gnome_bg_set_color (item->priv->bg, item->priv->shading, &pcolor, &scolor);119 gnome_bg_set_rgba (item->priv->bg, item->priv->shading, &pcolor, &scolor);
119 gnome_bg_set_placement (item->priv->bg, item->priv->placement);120 gnome_bg_set_placement (item->priv->bg, item->priv->placement);
120}121}
121122
@@ -904,12 +905,12 @@
904colors_equal (const char *a,905colors_equal (const char *a,
905 const char *b)906 const char *b)
906{907{
907 GdkColor color1, color2;908 GdkRGBA color1, color2;
908909
909 gdk_color_parse (a, &color1);910 gdk_rgba_parse (&color1, a);
910 gdk_color_parse (b, &color2);911 gdk_rgba_parse (&color2, b);
911912
912 return gdk_color_equal (&color1, &color2);913 return gdk_rgba_equal (&color1, &color2);
913}914}
914915
915gboolean916gboolean

Subscribers

People subscribed via source and target branches