gdk: API: constify argument

gdk_window_set_background_rgba() should take a const RGBA.
This commit is contained in:
Benjamin Otte 2012-12-17 16:42:07 +01:00
parent f770e9ac1e
commit 4cfd1f51c0
2 changed files with 4 additions and 4 deletions

View File

@ -6550,7 +6550,7 @@ gdk_window_set_background (GdkWindow *window,
**/
void
gdk_window_set_background_rgba (GdkWindow *window,
GdkRGBA *rgba)
const GdkRGBA *rgba)
{
cairo_pattern_t *pattern;

View File

@ -660,7 +660,7 @@ GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba)
void gdk_window_set_background (GdkWindow *window,
const GdkColor *color);
void gdk_window_set_background_rgba (GdkWindow *window,
GdkRGBA *rgba);
const GdkRGBA *rgba);
void gdk_window_set_background_pattern (GdkWindow *window,
cairo_pattern_t *pattern);
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);