gdk/x11: Constify argument

This commit is contained in:
Emmanuele Bassi 2016-10-15 21:13:04 +01:00
parent 175800f345
commit 923b868400
2 changed files with 3 additions and 3 deletions

View File

@ -3587,8 +3587,8 @@ gdk_x11_window_set_frame_extents (GdkWindow *window,
* Since: 3.2
*/
void
gdk_x11_window_set_theme_variant (GdkWindow *window,
char *variant)
gdk_x11_window_set_theme_variant (GdkWindow *window,
const char *variant)
{
gdk_x11_window_set_utf8_property (window, "_GTK_THEME_VARIANT",
variant ? variant : "");

View File

@ -64,7 +64,7 @@ void gdk_x11_window_set_utf8_property (GdkWindow *window,
const gchar *value);
GDK_AVAILABLE_IN_3_2
void gdk_x11_window_set_theme_variant (GdkWindow *window,
char *variant);
const char *variant);
GDK_DEPRECATED_IN_3_12_FOR(gdk_window_set_shadow_width)
void gdk_x11_window_set_frame_extents (GdkWindow *window,
int left,