diff options
author | Benjamin Otte <otte@redhat.com> | 2012-11-25 02:28:59 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-11-25 02:45:10 +0100 |
commit | 42dc0ea0fd423f3794d1f77bb9bb84d5bc9d3c0e (patch) | |
tree | 90c183370b1dca8f1b54222593bf005dd88a7dff /gtk/gtkstyleproviderprivate.h | |
parent | 08ac1504d2c99d8bfd8ba3fb384f09263dcc66e5 (diff) | |
download | gtk+-42dc0ea0fd423f3794d1f77bb9bb84d5bc9d3c0e.tar.gz |
styleprovider: Change function prototype
Make _gtk_style_provider_private_get_color() return a GtkCssValue (a
GtkCssColorValue to be exact) instead of GtkSymbolicColor.
With this, the symbolic color usage inside GTK is minimized.
Diffstat (limited to 'gtk/gtkstyleproviderprivate.h')
-rw-r--r-- | gtk/gtkstyleproviderprivate.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkstyleproviderprivate.h b/gtk/gtkstyleproviderprivate.h index 75a6049360..76e2a98f71 100644 --- a/gtk/gtkstyleproviderprivate.h +++ b/gtk/gtkstyleproviderprivate.h @@ -22,8 +22,7 @@ #include "gtk/gtkcsskeyframesprivate.h" #include "gtk/gtkcsslookupprivate.h" #include "gtk/gtkcssmatcherprivate.h" -#include <gtk/gtkenums.h> -#include <gtk/gtksymboliccolor.h> +#include "gtk/gtkcssvalueprivate.h" #include <gtk/gtktypes.h> G_BEGIN_DECLS @@ -40,7 +39,7 @@ struct _GtkStyleProviderPrivateInterface { GTypeInterface g_iface; - GtkSymbolicColor * (* get_color) (GtkStyleProviderPrivate *provider, + GtkCssValue * (* get_color) (GtkStyleProviderPrivate *provider, const char *name); GtkCssKeyframes * (* get_keyframes) (GtkStyleProviderPrivate *provider, const char *name); @@ -56,7 +55,7 @@ struct _GtkStyleProviderPrivateInterface GType _gtk_style_provider_private_get_type (void) G_GNUC_CONST; -GtkSymbolicColor * _gtk_style_provider_private_get_color (GtkStyleProviderPrivate *provider, +GtkCssValue * _gtk_style_provider_private_get_color (GtkStyleProviderPrivate *provider, const char *name); GtkCssKeyframes * _gtk_style_provider_private_get_keyframes(GtkStyleProviderPrivate *provider, const char *name); |