mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
gdk/x11: Constify argument
This commit is contained in:
parent
175800f345
commit
923b868400
@ -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 : "");
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user