Commit a1e80d99 authored by Cosimo Cecchi's avatar Cosimo Cecchi

stylecontext: deprecate gtk_style_context_set_background()

Nothing in GTK calls it anymore.
parent d6b82616
......@@ -2470,6 +2470,10 @@ corner_value_is_right_angle (GtkCssValue *value)
* color specified in @context for its current state.
*
* Since: 3.0
*
* Deprecated: 3.18: Use gtk_render_background() instead.
* Note that clients still using this function are now responsible
* for calling this function again whenever @context is invalidated.
**/
void
gtk_style_context_set_background (GtkStyleContext *context,
......
......@@ -1187,7 +1187,7 @@ void gtk_style_context_invalidate (GtkStyleContext *context);
GDK_AVAILABLE_IN_ALL
void gtk_style_context_reset_widgets (GdkScreen *screen);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_18_FOR(gtk_render_background)
void gtk_style_context_set_background (GtkStyleContext *context,
GdkWindow *window);
......
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