From 923b868400f65e9d4f570b736412d4be56103d6a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 15 Oct 2016 21:13:04 +0100 Subject: [PATCH] gdk/x11: Constify argument --- gdk/x11/gdkwindow-x11.c | 4 ++-- gdk/x11/gdkx11window.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index b2e314d58a..5744d66029 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -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 : ""); diff --git a/gdk/x11/gdkx11window.h b/gdk/x11/gdkx11window.h index d366d3b457..b4fac2ff90 100644 --- a/gdk/x11/gdkx11window.h +++ b/gdk/x11/gdkx11window.h @@ -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,