summaryrefslogtreecommitdiff
path: root/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch')
-rw-r--r--x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch b/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch
new file mode 100644
index 000000000000..0f0b92aaaaef
--- /dev/null
+++ b/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.6-warning.patch
@@ -0,0 +1,24 @@
+From 7a5425d86e8fd5327091ce736a9680317a0c3747 Mon Sep 17 00:00:00 2001
+From: Hugo Pereira Da Costa <hugo.pereira.da.costa@gmail.com>
+Date: Thu, 6 Apr 2017 19:18:13 +0200
+Subject: fixed compiler warning
+
+---
+ src/oxygenstyle.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/oxygenstyle.cpp b/src/oxygenstyle.cpp
+index 75e0fcc..374810f 100644
+--- a/src/oxygenstyle.cpp
++++ b/src/oxygenstyle.cpp
+@@ -2171,7 +2171,7 @@ namespace Oxygen
+ {
+
+ // do nothing if not selected nor hovered
+- if( !options & (Hover|Selected ) ) return;
++ if( !(options & (Hover|Selected )) ) return;
+
+ Palette::Group group( (options & Focus) ? Palette::Active : Palette::Inactive );
+ ColorUtils::Rgba base( _settings.palette().color( group, Palette::Selected ) );
+--
+cgit v0.11.2