forked from AuroraMiddleware/gtk
themingengine: add a private _gtk_theming_engine_get_context()
We'll need this later.
This commit is contained in:
parent
4e37d56d51
commit
4c61f1f663
@ -330,6 +330,14 @@ _gtk_theming_engine_set_context (GtkThemingEngine *engine,
|
||||
priv->context = context;
|
||||
}
|
||||
|
||||
GtkStyleContext *
|
||||
_gtk_theming_engine_get_context (GtkThemingEngine *engine)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), NULL);
|
||||
|
||||
return engine->priv->context;
|
||||
}
|
||||
|
||||
const GValue *
|
||||
_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
|
||||
const char *property_name)
|
||||
|
@ -35,5 +35,6 @@ double _gtk_theming_engine_get_number (GtkThemingEngine *engine,
|
||||
double one_hundred_percent);
|
||||
void _gtk_theming_engine_set_context (GtkThemingEngine *engine,
|
||||
GtkStyleContext *context);
|
||||
GtkStyleContext *_gtk_theming_engine_get_context (GtkThemingEngine *engine);
|
||||
|
||||
#endif /* __GTK_THEMING_ENGINE_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user