mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Merge branch 'patch-1' into 'master'
Zero-fill new GtkTextIter See merge request GNOME/gtk!455
This commit is contained in:
commit
ed17a8ddd7
@ -245,6 +245,8 @@ iter_init_common (GtkTextIter *_iter,
|
|||||||
g_return_val_if_fail (iter != NULL, NULL);
|
g_return_val_if_fail (iter != NULL, NULL);
|
||||||
g_return_val_if_fail (tree != NULL, NULL);
|
g_return_val_if_fail (tree != NULL, NULL);
|
||||||
|
|
||||||
|
memset (iter, 0, sizeof (GtkTextRealIter));
|
||||||
|
|
||||||
iter->tree = tree;
|
iter->tree = tree;
|
||||||
|
|
||||||
iter->chars_changed_stamp =
|
iter->chars_changed_stamp =
|
||||||
|
Loading…
Reference in New Issue
Block a user