stylecontext: deprecate gtk_style_context_set_background()

Nothing in GTK calls it anymore.
This commit is contained in:
Cosimo Cecchi 2015-06-28 11:23:16 -07:00
parent d6b8261622
commit a1e80d99d2
2 changed files with 5 additions and 1 deletions

View File

@ -2470,6 +2470,10 @@ corner_value_is_right_angle (GtkCssValue *value)
* color specified in @context for its current state. * color specified in @context for its current state.
* *
* Since: 3.0 * 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 void
gtk_style_context_set_background (GtkStyleContext *context, gtk_style_context_set_background (GtkStyleContext *context,

View File

@ -1187,7 +1187,7 @@ void gtk_style_context_invalidate (GtkStyleContext *context);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_style_context_reset_widgets (GdkScreen *screen); 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, void gtk_style_context_set_background (GtkStyleContext *context,
GdkWindow *window); GdkWindow *window);