Commit 4027dcea authored by Carlos Garnacho's avatar Carlos Garnacho

Add #define for the "spinner" style class

parent 62e9188f
......@@ -283,6 +283,13 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_PROGRESSBAR "progressbar"
/**
* GTK_STYLE_CLASS_SPINNER:
*
* A widget class defining a spinner
*/
#define GTK_STYLE_CLASS_SPINNER "spinner"
/* Predefined set of widget regions */
/**
......
......@@ -2612,7 +2612,7 @@ gtk_theming_engine_render_activity (GtkThemingEngine *engine,
gdouble width,
gdouble height)
{
if (gtk_theming_engine_has_class (engine, "spinner"))
if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_SPINNER))
{
GtkStateFlags state;
guint num_steps, step;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment