pidgin/pidgin

b284e24fa3dd
Merged in xhaakon/pidgin (pull request #170)

gtkwebviewtoolbar: fix painting of font button background

Approved-by: Gary Kramlich
Approved-by: Jorge Villasenor
Approved-by: Elliott Sales de Andrade
--- a/pidgin/gtkwebviewtoolbar.c Wed Mar 22 23:35:01 2017 -0700
+++ b/pidgin/gtkwebviewtoolbar.c Fri May 26 01:15:56 2017 +0000
@@ -134,9 +134,14 @@
if (strcmp(str, "inherit") == 0) {
return FALSE;
- } else {
- return gdk_rgba_parse(color, str);
}
+
+ if (!gdk_rgba_parse(color, str)) {
+ return FALSE;
+ }
+
+ /* FALSE for fully transparent color (same behavior as with "inherit") */
+ return color->alpha > 0;
}
static gchar*