diff options
author | Denis Gorodnichev <[email protected]> | 2014-07-15 20:56:23 +0400 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-07 11:53:38 +0100 |
commit | 30b3258e94915b56cd77844263cde76f8b6fda06 (patch) | |
tree | 944d2c9b9676e4723758fd2ca63395eb8de30bc2 /libmate-desktop/mate-desktop-utils.h | |
parent | eba75e2839a09c8d5109c1a4b77ff96b65551a13 (diff) | |
download | mate-desktop-30b3258e94915b56cd77844263cde76f8b6fda06.tar.bz2 mate-desktop-30b3258e94915b56cd77844263cde76f8b6fda06.tar.xz |
mate_desktop_gtk_style_get_light_color and mate_desktop_gtk_style_get_dark_color
Diffstat (limited to 'libmate-desktop/mate-desktop-utils.h')
-rw-r--r-- | libmate-desktop/mate-desktop-utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 */ |