diff options
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r-- | gtk/gtktextiter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index e16f3a5796..be31d084d0 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -245,6 +245,8 @@ iter_init_common (GtkTextIter *_iter, g_return_val_if_fail (iter != NULL, NULL); g_return_val_if_fail (tree != NULL, NULL); + memset (iter, 0, sizeof (GtkTextRealIter)); + iter->tree = tree; iter->chars_changed_stamp = |