forked from AuroraMiddleware/gtk
gdk: API: constify argument
gdk_window_set_background_rgba() should take a const RGBA.
This commit is contained in:
parent
f770e9ac1e
commit
4cfd1f51c0
@ -6550,7 +6550,7 @@ gdk_window_set_background (GdkWindow *window,
|
|||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gdk_window_set_background_rgba (GdkWindow *window,
|
gdk_window_set_background_rgba (GdkWindow *window,
|
||||||
GdkRGBA *rgba)
|
const GdkRGBA *rgba)
|
||||||
{
|
{
|
||||||
cairo_pattern_t *pattern;
|
cairo_pattern_t *pattern;
|
||||||
|
|
||||||
|
@ -660,7 +660,7 @@ GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba)
|
|||||||
void gdk_window_set_background (GdkWindow *window,
|
void gdk_window_set_background (GdkWindow *window,
|
||||||
const GdkColor *color);
|
const GdkColor *color);
|
||||||
void gdk_window_set_background_rgba (GdkWindow *window,
|
void gdk_window_set_background_rgba (GdkWindow *window,
|
||||||
GdkRGBA *rgba);
|
const GdkRGBA *rgba);
|
||||||
void gdk_window_set_background_pattern (GdkWindow *window,
|
void gdk_window_set_background_pattern (GdkWindow *window,
|
||||||
cairo_pattern_t *pattern);
|
cairo_pattern_t *pattern);
|
||||||
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
|
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
|
||||||
|
Loading…
Reference in New Issue
Block a user