Remove some outdated references

We shouldn't recommend gtk_widget_modify_bg() or
gtk_style_set_background() anymore.
This commit is contained in:
Matthias Clasen 2015-01-18 12:40:32 -05:00
parent 500bd60873
commit cf277fabb5

View File

@ -5895,10 +5895,10 @@ gdk_window_scroll (GdkWindow *window,
* Since: 2.8 * Since: 2.8
*/ */
void void
gdk_window_move_region (GdkWindow *window, gdk_window_move_region (GdkWindow *window,
const cairo_region_t *region, const cairo_region_t *region,
gint dx, gint dx,
gint dy) gint dy)
{ {
cairo_region_t *expose_area; cairo_region_t *expose_area;
@ -5924,10 +5924,12 @@ gdk_window_move_region (GdkWindow *window,
* @window: a #GdkWindow * @window: a #GdkWindow
* @color: a #GdkColor * @color: a #GdkColor
* *
* Sets the background color of @window. (However, when using GTK+, * Sets the background color of @window.
* set the background of a widget with gtk_widget_modify_bg() - if *
* youre an application - or gtk_style_set_background() - if you're * However, when using GTK+, influence the background of a widget
* implementing a custom widget.) * using a style class or CSS if youre an application or with
* gtk_style_context_set_background() if you're implementing a
* custom widget.
* *
* See also gdk_window_set_background_pattern(). * See also gdk_window_set_background_pattern().
* *
@ -5991,7 +5993,7 @@ gdk_window_set_background_rgba (GdkWindow *window,
* when the window is obscured then exposed. * when the window is obscured then exposed.
*/ */
void void
gdk_window_set_background_pattern (GdkWindow *window, gdk_window_set_background_pattern (GdkWindow *window,
cairo_pattern_t *pattern) cairo_pattern_t *pattern)
{ {
g_return_if_fail (GDK_IS_WINDOW (window)); g_return_if_fail (GDK_IS_WINDOW (window));