From 30b3258e94915b56cd77844263cde76f8b6fda06 Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Tue, 15 Jul 2014 20:56:23 +0400 Subject: mate_desktop_gtk_style_get_light_color and mate_desktop_gtk_style_get_dark_color --- libmate-desktop/mate-desktop-utils.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libmate-desktop/mate-desktop-utils.h') diff --git a/libmate-desktop/mate-desktop-utils.h b/libmate-desktop/mate-desktop-utils.h index 824b11a..972e0e9 100644 --- a/libmate-desktop/mate-desktop-utils.h +++ b/libmate-desktop/mate-desktop-utils.h @@ -42,6 +42,18 @@ void mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv); /* replace gdk_spawn_command_line_on_screen, not available in GTK3 */ gboolean mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command, GError **error); +#if GTK_CHECK_VERSION (3, 0, 0) +void +mate_desktop_gtk_style_get_light_color (GtkStyleContext *style, + GtkStateFlags state, + GdkRGBA *color); + +void +mate_desktop_gtk_style_get_dark_color (GtkStyleContext *style, + GtkStateFlags state, + GdkRGBA *color); +#endif + G_END_DECLS #endif /* MATE_DESKTOP_UTILS_H */ -- cgit v1.2.1