mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
GDK W32: Fix property setting to correctly use static strings
The strings that are set are static, so g_value_set_static_string() should be used to set them instead of g_value_set_string().
This commit is contained in:
parent
64ab82c403
commit
8da56cef79
@ -215,9 +215,9 @@ _gdk_win32_get_setting (const gchar *name,
|
||||
else if (strcmp ("gtk-im-module", name) == 0)
|
||||
{
|
||||
if (_gdk_input_locale_is_ime)
|
||||
g_value_set_string (value, "ime");
|
||||
g_value_set_static_string (value, "ime");
|
||||
else
|
||||
g_value_set_string (value, "");
|
||||
g_value_set_static_string (value, "");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user