Merge branch 'gtk-3-24.ime-event.fixes' into 'gtk-3-24'

gdkevents-win32.c: Use g_strdup() in gdk_settings_notify()

See merge request GNOME/gtk!447
This commit is contained in:
LRN 2018-12-17 05:00:06 +00:00
commit eb821cb89b

View File

@ -2256,7 +2256,7 @@ gdk_settings_notify (GdkWindow *window,
new_event->setting.window = window;
new_event->setting.send_event = FALSE;
new_event->setting.action = action;
new_event->setting.name = (char*) name;
new_event->setting.name = g_strdup (name);
_gdk_win32_append_event (new_event);
}