From b2c6ddcb6778322c826178a033457ead91f9c0e8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 1 Jun 2016 13:12:40 +0200 Subject: GTK+3 media-keys: Port OSD to GtkStyleContext - Port OSD to GtkStyleContext - Port style_set to style_updated - fixes also a -Wincompatible-pointer-types warning - Use correct argument to GtkStyle functions taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-0&id=f6e55cb https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=45a88f2 GTK+3 media-keys: fix deprecated gtk_style_context_get_background_color taken from mate-notification-daemon GTK+3 media-keys: do not use hardcoded colors for osd progressbar - If we use the OSD style class let the themes handle that. - drop useless color functions inspired from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a0cefe6 --- plugins/common/msd-osd-window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/common/msd-osd-window.h') diff --git a/plugins/common/msd-osd-window.h b/plugins/common/msd-osd-window.h index fd33d36..52c464f 100644 --- a/plugins/common/msd-osd-window.h +++ b/plugins/common/msd-osd-window.h @@ -92,8 +92,10 @@ void msd_osd_window_draw_rounded_rectangle (cairo_t *cr, gdouble width, gdouble height); +#if !GTK_CHECK_VERSION (3, 0, 0) void msd_osd_window_color_reverse (const GdkColor *a, GdkColor *b); +#endif #ifdef __cplusplus } -- cgit v1.2.1