From efd39dff439de0d4d1c112f994f0d80d9de541f4 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 11 Feb 2016 07:40:40 +0100 Subject: GTK+3 panel-frame: don't use deprecated GtkSymbolicColor Code for color shading copied from mutter: https://git.gnome.org/browse/mutter/tree/src/ui/theme.c taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=5b19b4b --- mate-panel/libpanel-util/panel-color.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mate-panel/libpanel-util/panel-color.h (limited to 'mate-panel/libpanel-util/panel-color.h') diff --git a/mate-panel/libpanel-util/panel-color.h b/mate-panel/libpanel-util/panel-color.h new file mode 100644 index 00000000..753c28ff --- /dev/null +++ b/mate-panel/libpanel-util/panel-color.h @@ -0,0 +1,15 @@ +#ifndef PANEL_COLOR_H +#define PANEL_COLOR_H + +#include + +G_BEGIN_DECLS + +#if GTK_CHECK_VERSION (3, 0, 0) +void gtk_style_shade (GdkRGBA *a, GdkRGBA *b, gdouble k); +#endif + +G_END_DECLS + +#endif + -- cgit v1.2.1