diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-11 07:40:40 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-12 07:04:31 +0100 |
commit | efd39dff439de0d4d1c112f994f0d80d9de541f4 (patch) | |
tree | 767f87b0e40124360038019e428fcfd5b302d0d4 /mate-panel/libpanel-util/panel-color.h | |
parent | ab9944b4b5cc40468302894be22c091248754a5e (diff) | |
download | mate-panel-efd39dff439de0d4d1c112f994f0d80d9de541f4.tar.bz2 mate-panel-efd39dff439de0d4d1c112f994f0d80d9de541f4.tar.xz |
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
Diffstat (limited to 'mate-panel/libpanel-util/panel-color.h')
-rw-r--r-- | mate-panel/libpanel-util/panel-color.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 <gtk/gtk.h> + +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 + |